Option to Restrict GLPI Object Group to Groups for which form user is Manager or Delegate
I would like to create forms to request the addition/removal of a user to/from a group, but want to limit this ability to only form authors who have either the Manager or a Delegatee role for the groups in question.
Add a restriction field, similar to Entity restriction, called Group Role restriction, that allows selection of the following
- Any
- Delegatee
- Manager
- Manager or Delegatee
Where these selections have the following restriction on the selection of a group from the dropdown.
Any - no restriction Delegatee - only allow selection of groups for which the form author is a Delegatee Manager - only allow selection of groups for which the form author is a Manager Manager or Delegatee - only allow selection of groups for which the form author is a Manager or a Delegatee