Project

General

Profile

Actions

User Story #288

open

Epic #49: Implement user, groups and permissions management

Feature #268: Granting access

As an operator, I want nobody to be able to hand out access they do not hold, so that managing access cannot be used to become an administrator

User Story #288: As an operator, I want nobody to be able to hand out access they do not hold, so that managing access cannot be used to become an administrator

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

If being allowed to manage access were enough by itself, anyone with it could give themselves or a friend the Administrator role. Handing out access therefore requires holding it.

Acceptance criteria

  • Giving access requires both the right to manage access and holding everything being given
  • A refusal names which capability was missing
  • Holding a whole family of capabilities satisfies the check for any of them
  • The rule applies to platform-wide grants, object grants and denials alike
  • The interface does not offer roles the person could not give

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 about 2 months ago Author Actions #7

  • Description updated (diff)
  • Status changed from Planned to In Progress
  • Start date set to 09/26/2026

Updated by Anonymous about 1 month ago Actions #8

Commit referenced this issue: @12cda5c5@

https://codeberg.org/Bricklou/kubestro/commit/12cda5c5c05059514639bf46888bbc85e5168cc0

feat(access): guard grant use cases and forbid giving more access than held (#288)

Updated by Bricklou about 1 month ago Author Actions #9

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

Updated by Bricklou about 1 month ago Author Actions #10

  • Status changed from In Review to Done

Updated by Bricklou about 1 month ago Author Actions #11

All five acceptance criteria are met, including the last one: the dialog that gives access shows the roles the person cannot give, and disables them. The last checkbox in the description is still empty because the issue was closed before it could be ticked.

Actions

Also available in: PDF Atom