You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-10-28 12:22:22

Kallisti
Member
Registered: 2017-07-28
Posts: 19

Group approval

Hello,

We are using the approval processing step in GLPI, for example approving issuing a new laptop after a user request.

It is possible to select a group as Approver, but then you are supposed to select one, many or all people in the group to be approvers. All of these users will separately get notified about the approval request. It seems that the group option is perhaps just a way to find the approvers the technician wants to select, is that the case?

I just need one in the group to approve and it would be best if the others were informed that the approval request has been responded to (yes or no). Preferably, if the approval is comprehensive, the people in the group might need to have the approval assigned to them (like a ticket).

It would of course also be good if people were added or removed from the group, that they be able to approve or not respectively.

Is there a way in GLPI to use approvals with groups in that way?

Thanks!

Offline

#2 2022-10-31 12:51:19

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Group approval

This feature was added for GLPI 10.1.0 (no release date yet).

https://github.com/glpi-project/glpi/pull/11006


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-11-22 15:37:08

Kallisti
Member
Registered: 2017-07-28
Posts: 19

Re: Group approval

That's fantastic - thank you very much for implementing this functionality! I see from the related PRs that delegation of approval authority is also merged, cool. Looking forward to 10.1.0 (no tag or branch for it yet? Edit: I see the milestone now!)

Can I ask, as couldn't decipher it fully with 30 commits and 31 files changed in the PR, what the workflow is.

If selecting the (new) group option instead of group users, a notification event will be triggered to allow a notification to go out to all current users in the group?
And if searching in the ticket list, all current users in the group (even if it changed) will see that they are assigned the approval?
And then any of them can respond, the ticket is removed from that search?

Did I get that right?

I actually have a somewhat related question about approval across entities, but I'll put that in a separate thread.

Last edited by Kallisti (2022-11-22 15:41:49)

Offline

#4 2022-11-22 15:52:08

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Group approval

Group approvals feature have renamed the existing Group option for approvals to Group Users to better match its functionality which is to select specific users of a group.
It adds a Group option to the dropdown when making an approval that lets you select a Group. When you make a Group approval, all members of that group would get the notification (if the notification is enabled) and any member of that group can approve/reject the request on behalf of the group. Behind the scenes, the target of the approval (who is being asked for an answer) is the group itself so if a user gets added to a group after an approval is made for that group, they can still see and answer it; they just wouldn't retroactively get the notification. Conversely, if a user is removed from a group after an approval is made for that group, they can no longer answer it.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#5 2022-11-22 16:08:47

Kallisti
Member
Registered: 2017-07-28
Posts: 19

Re: Group approval

Sounds great, lloking forward to 10.1.0.

Final question (for discoverability), I understand that anyone currently in the assigned group can see and respond but how can they find the ticket (absent a notification). Can they search for approver = themselves or approval = group or approval group = group?

Offline

#6 2022-11-22 16:21:35

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Group approval

It should show on their homepage/dashboard on the Personal tab as it does with user-based approvals.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB