goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.02k stars 866 forks source link

Creation, assignment and maintenance of roles with multiple AD groups #8055

Open LSchieren opened 8 months ago

LSchieren commented 8 months ago

Describe your question/

The following use case:

A new employee starts at a company. As part of the onboarding process, the employee should be assigned to several groups for activities in a subject area in their team so that they can work to their full potential.

Now the idea would be to define a role for the subject area that contains all the necessary groups so that the new employee only has to be assigned this role in order to be able to work directly.

Is this already implemented in Authentik? If not, I would very much like to suggest this.

The necessary steps would be

  1. role creation

It must be possible to create a role with the attributes:


  1. AD groups can be added

It must be possible to add (AD) groups to these roles.


  1. users should be able to be assigned roles

The user IDs of employees may be assigned roles.


  1. plannable assignment or removal of roles

It should be possible to assign or remove roles to users in the future.

In other words: Plannable assignment of roles: "An employee starts at a company on 01.01.2025 and should receive several roles on this date."

Plannable withdrawal of roles: "An employee stops working for a company on 31.12.2024 and several roles are to be withdrawn from him on the above date.


  1. The assignment and withdrawal of roles must be logged in an audit-proof manner.

Relevant infos i.e. Version of other software you're using, specifics of your setup

Screenshots If applicable, add screenshots to help explain your problem.

Logs Output of docker-compose logs or kubectl logs respectively

Version and Deployment (please complete the following information):

Additional context Add any other context about the problem here.

### Tasks
LSchieren commented 6 months ago

@rissson @BeryJu