In Admin, I have a manager as a member of DepartmentManager and many clerks as members of DepartmentClerk. I’m trying to figure out which authorizations are required to allow the manager to re-assign a task to a specific clerk. As far as I could uncover, the DepartmentManager needs a User authorization of READ permissions on the clerks. So I’m left with two options :
a single READ * This has the downside of the manager having full view of all the users in the entire database, not only the department. As per the above response from @martin.stamm it’s not possible to grant a department manager view of only those users in her/his department.
multiple READ clerkID This is precisely what I want, however it’s an administrative nightmare, especially in view of my previous topic.
I even looked at making the manager a superfluous member of DepartmentClerk, but this did not alleviate the problem. Surely this use-case must’ve been encountered before? How did you solve it?
Any thoughts on approaching it from a different angle would be much appreciated.
I’ve re-read the docs regarding authorizations and cannot see any reference to authorizations on Users, as may be required to re-assign a task to another user. The DepartmentManager has the required authorizations on the Task, but it appears the manager also requires authorizations on Users in order to re-assign.
As per the comments by @martin.stamm in my previous topic, you cannot limit the manager to only users within the DepartmentClerk group. I hope I’m wrong, but if this is so, then the only way forward is to grant the manager READ authorizations on each and every clerk. The maintenance on these authorizations is simply not worth the effort.
I really hope you can propose a different perspective on solving this use-case
I just remembered the feature request behind the seperation into task workers and task managers:
The customer requested that task workers are only able to complete the task and are not able to reassign tasks to other users. Only task managers should assign tasks.
I’ve no experience if you can limit this to departments.
An idea could be to limit the user ids by preparing drop down lists in a custom user interface. You will get the employees of the manager from the LDAP directory and put them into a selection. I havn’t any details how to implement this, but maybe it’s worth to explore?
I think your proposal is probably the best for now. Such custom UI for user management can either be in the form of a BPMN process or an Admin plugin. The BPMN process is probably the easier option.
In my mind, camunda probably needs some way of defining User authorizations at a Group level. Put differently, define a Group authorization which then applies to all members of that group, eg define a READ authorization on all members of the DepartmentClerk group.
I’ve never placed a feature request, but trust that the above is the essence of it.