Manage human role membership from config/users/ #37
Reference in New Issue
Block a user
Delete Branch "benvin/media-adult-membership"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Human role assignment has been a UI-only operation: the module manages groups and service accounts but no human membership, so which akR-* roles a person holds lives nowhere in code. This adds the mechanism; it ships with no assignments.
users/config kind:config/users/<username>.yamllisting theakR-*roles that user holds.data.authentik_userby username; never declareauthentik_userfor a human.authentik_group.roleusersonly for roles a user file names; every other role staysnulland untouched.config/roles/<name>.yaml.Naming a role in a user file makes Terraform authoritative over that role's entire member list.