Manage access through Authentik groups #21

Merged
Gilles merged 3 commits from feat/16-group-access into master 2026-10-28 23:04:19 +00:00
Owner

Closes #16

Frontend for argus/backend#27 (PR argus/backend#31). Stacked on #20 (base feat/15-native-orgs-external-projects, which already added Me.groups / Me.is_argus_admin).

Changes

  • src/api/groupGrants.ts: list / save (create or change level) / delete grants on an organization or a project.
  • GroupGrantsManager.vue: "Accès par groupe" section — table of grants (group, level), form (group name + Lecture/Écriture/Admin), "Retirer"; renders nothing without admin permission (403), like the token manager. Explains the scope (organization and all its projects / this project) and that Authentik group changes apply at the next login.
  • Shown on the organization page and in project settings; default MSW handlers return 403.
  • Tests: src/__tests__/GroupGrantsManager.spec.ts.

Checks

pnpm run test:unit (82 passed), vue-tsc -b, pnpm run build.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA

Closes #16 Frontend for argus/backend#27 (PR argus/backend#31). **Stacked on #20** (base `feat/15-native-orgs-external-projects`, which already added `Me.groups` / `Me.is_argus_admin`). ## Changes - `src/api/groupGrants.ts`: list / save (create or change level) / delete grants on an organization or a project. - `GroupGrantsManager.vue`: "Accès par groupe" section — table of grants (group, level), form (group name + Lecture/Écriture/Admin), "Retirer"; renders nothing without admin permission (403), like the token manager. Explains the scope (organization and all its projects / this project) and that Authentik group changes apply at the next login. - Shown on the organization page and in project settings; default MSW handlers return 403. - Tests: `src/__tests__/GroupGrantsManager.spec.ts`. ## Checks `pnpm run test:unit` (82 passed), `vue-tsc -b`, `pnpm run build`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
feature: manage access through Authentik groups
All checks were successful
ci / unit (pull_request) Successful in 1m29s
ci / publish (pull_request) Has been skipped
e59cff1ea2
An "Accès par groupe" section in organization and project settings
(admins only, hidden on 403): list, give (group + level, updates an
existing group's level) and remove group grants, with a note that
Authentik group changes apply at the person's next login.

Closes #16

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
Author
Owner
<!-- argus-link-bot:argus/frontend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/argus/frontend/pr/21)
Gilles changed target branch from feat/15-native-orgs-external-projects to master 2026-10-28 22:55:25 +00:00
Merge remote-tracking branch 'origin/master' into feat/16-group-access
All checks were successful
ci / unit (pull_request) Successful in 1m29s
ci / publish (pull_request) Has been skipped
68cb70499d
# Conflicts:
#	src/views/OrganizationView.vue
Gilles scheduled this pull request to auto merge when all checks succeed 2026-10-28 22:58:24 +00:00
Gilles merged commit eccc401541 into master 2026-10-28 23:04:19 +00:00
Gilles deleted branch feat/16-group-access 2026-10-28 23:04:20 +00:00
Sign in to join this conversation.
No description provided.