goauthentik / goauthentik/authentik

Allow both addition and removal of groups from expression policies

Open
#5,711 3 comments 11 reactions 0 assignees View on GitHub
enhancement enhancement/confirmed hackathon
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
659

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.