Is there a way to see transitive group memberships in the web interface? #24175
Replies: 1 comment
|
No the web UI only shows direct edges The inheritance itself is real in the model class GroupQuerySet(QuerySet):
def with_descendants(self): ...
def with_ancestors(self): ...
def all_groups(self) -> QuerySet[Group]:
"""Recursively get all groups this user is a member of."""
return self.groups.all().with_ancestors()So policies and role checks already see What you can use today Alice viewing herself Anyone else curl -s -H "Authorization: Bearer $TOKEN" \
"https://authentik.company/api/v3/core/groups/?include_users=true" > groups.jsonEach group carries A transitive toggle on those two pages would be a fair feature request since the queryset helpers are already there |
Uh oh!
There was an error while loading. Please reload this page.
Assume user Alice is in group
companyandcompanyis a child ofsoftware-users, thus Alice transitively is member ofsoftware-users. Is there a way to see in the web interface:software-usersincluding transitive relations?companyandsoftware-users.All reactions