Access through Authentik groups #31
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!31
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/27-authentik-group-access"
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?
Closes #27
Part of the server monitoring plan (phase 1.2). Stacked on #30 (base branch
feat/26-native-orgs-external-projects): merge #30 first.Changes
AuthentikGroups: the OIDCgroupsclaim, stored (replaced) at every login. Authentik's defaultprofilemapping sends the user's direct groups only. Leaving a group takes effect at the next login (documented in the README).GroupGrant(group name,read/write/admin, organization or project): an organization grant covers all its projects. Effective level = max(Forgejo, groups), for Forgejo and native organizations alike; users without a Forgejo identity can get access through groups only.ARGUS_ADMIN_GROUPsetting (defaultargus-admins): its members, like superusers, create native organizations/external projects and administer native organizations. It gives nothing on Forgejo organizations.GET/POST /api/organizations/<org>/group-grants/,DELETE …/<id>/, and the same under/api/projects/<owner>/<repo>/group-grants/. POST on an existing group updates its level./api/me/:groups,is_argus_admin.apps/accounts/test_groups.py(incl. a group-only reader receiving notifications).Infra
vps-garion: theargus-adminsandargus-infragroups are added through the Authentik blueprint (separate commit there).Checks
pytest (202 passed), pylint 10/10, autopep8, bandit clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
📊 Rapports Argus pour cette PR