Project

General

Profile

Actions

User Story #289

open

Epic #49: Implement user, groups and permissions management

Feature #269: Access decision and enforcement

As an operator, I want every protected action checked before it runs, so that access rules cannot be bypassed by choosing another way in

User Story #289: As an operator, I want every protected action checked before it runs, so that access rules cannot be bypassed by choosing another way in

Added by Bricklou 2 months ago. Updated about 1 month ago.

Status:
Done
Priority:
Normal
Assigned To:
Target version:
Start date:
09/26/2026
Due date:
% Done:

100%

Estimated time:

Description

Rules only count if they apply to the interface, the API and the command line equally, and if a refusal is a clear answer rather than a broken page.

Acceptance criteria

  • Every action that needs a capability is checked before it has any effect
  • A refusal is returned clearly and consistently, and says what was required
  • The same check applies whichever way the action was reached
  • Lists only contain what the requester is allowed to see, rather than being filtered afterwards
  • Nothing that is not explicitly allowed is permitted

Rejection reason

Superseded by the rewritten epic #49

Updated by Bricklou 2 months ago Author Actions #1

  • Status changed from Draft to To Do

Updated by Bricklou 2 months ago Author Actions #2

  • Status changed from To Do to Draft

Updated by Bricklou 2 months ago Author Actions #3

  • Status changed from Draft to To Do

Updated by Bricklou 2 months ago Author Actions #4

  • Status changed from To Do to Rejected
  • Rejection reason updated (diff)

Superseded by the rewritten epic #49

Updated by Bricklou 2 months ago Author Actions #5

  • Status changed from Rejected to To Do

Updated by Bricklou 2 months ago Author Actions #6

  • Status changed from To Do to Planned
  • Assigned To set to Bricklou
  • Target version set to Server 0.1.0
  • Start date deleted (09/17/2026)

Updated by Bricklou 2 months ago Author Actions #7

  • Status changed from Planned to In Progress
  • Start date set to 09/26/2026

Updated by Bricklou about 1 month ago Author Actions #8

Roles and groups are now guarded: every role and group use case takes the acting user and checks core.role.read/manage, core.group.read/assign/manage/manage-members before any effect. Adding group members also requires holding everything the group gives, in every scope it gives it. Refusals are 403 problem details naming the missing permission.

Updated by Bricklou about 1 month ago Author Actions #9

  • Description updated (diff)

Updated by Bricklou about 1 month ago Author Actions #10

  • Description updated (diff)

Updated by Bricklou about 1 month ago Author Actions #11

  • Status changed from In Progress to In Review
  • % Done changed from 0 to 100

Updated by Bricklou about 1 month ago Author Actions #12

  • Status changed from In Review to Done
Actions

Also available in: PDF Atom