authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Allow both addition and removal of groups from expression policies

Open Keyinator opened this issue 1 year ago • 3 comments

Describe the solution you'd like Allow expression policies to add and remove the current user from groups.

Describe alternatives you've considered None available to my knowledge.

Additional context Currently you can add a new users to groups using dynamic groups (https://goauthentik.io/docs/flow/stages/user_write#dynamic-groups). Sadly there's two missing features:

  • You can't do it for existing users (Would love to update roles when users log in)
  • You can't remove roles

Keyinator avatar May 22 '23 02:05 Keyinator