How to map hierarchies between groups in Camunda

Hello,
Is there a way to map hierarchies between groups in Camunda? or to link the groups somehow?
Possible hierarchy structures:

  • Company1
    • Department1 (of Company1)
    • Accounting (of Company1)
  • Company2
    • Department1 (of Company2)
    • Accounting (of Company2)

Or quite simply a hierarchy between users: User1 is the manager of User2.

This should be mapped in Camunda without having to use LDAP. Is this possible?

Many thanks in advance!

Hi,

This sounds a bit like this feature:

I am afraid this is not currently supported.

Maybe if you explain more in details your use case, we can come up with ideas.
What do you benefit to link User1 as manager of User2? As in context of Camunda 7, users and groups are collections for mapping authorizations.

Best,
Yana

1 Like

Hi Yana,
thanks for the answer, then I know that this is currently not possible in Camunda.

The use case is that if a task needs to be offered to the entire company, you can specify the company as the candidate group and all subgroups and therefore users in the subgroups will automatically receive the task. This way each subgroup does not have to be entered individually and the users do not have to be added to both groups (department and company) to keep the structure cleaner and avoid duplication or forgetting. By doing this, it is enough that the users are placed in the subgroups.

You are talking about two different entities if I am not mistaken one or more companies and groups within one company. Correct me if I am wrong.
For the entity company, you can use multi-tenancy: Multi-Tenancy | docs.camunda.org. Implementing one tenant per company.
For the groups indeed is the scenario in the referenced feature. As there’s no out-of-the-box solution, maybe you can implement the group creation and assignment in Java or script or any other language that you prefer. So that the subgroups always have permissions of the parent.
If you are interested, we can support you if you would like to make a contribution on the above ticket.

1 Like

Hi,
sorry, I worded that badly, “company” was just an example name for a group. I was only ever referring to groups. Thank you very much, now I know that this feature does not exist out of the box for groups.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.