Project

General

Profile

Actions

User Story #279

open

Epic #49: Implement user, groups and permissions management

Feature #266: Roles

As an administrator, I want to create, edit and delete roles, so that I can describe access once and reuse it

User Story #279: As an administrator, I want to create, edit and delete roles, so that I can describe access once and reuse it

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

Status:
Done
Priority:
Normal
Assigned To:
Target version:
Start date:
10/13/2026
Due date:
% Done:

100%

Estimated time:

Description

A role is a named set of permissions picked from the catalog. It can name whole families at once, for example everything a module offers, so that a role does not silently fall behind when that module gains a capability.

Acceptance criteria

  • A role has a name and a set of permissions chosen from the catalog
  • A role can include a whole namespace or resource rather than listing every permission
  • A role is marked as usable platform-wide, on a single object, or both, and cannot be given in the wrong place
  • Editing a role changes what its holders can do immediately
  • Deleting a role warns when it is in use and removes the access it granted
  • Roles are listed and searchable

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 1 month ago Author Actions #7

  • Status changed from Planned to In Progress
  • Start date set to 10/13/2026

Updated by Bricklou about 1 month ago Author Actions #8

Backend done: create, edit, delete (with confirmation when the role is still given) and list/search use cases, guarded by core.role.read / core.role.manage, exposed under /api/v1/access/roles with OpenAPI schema. Role names are unique (case-insensitive); the slug of a user role is opaque. Remaining: the roles page in the dashboard.

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 six acceptance criteria are met. The checkboxes in the description are still empty because the issue was closed before they could be ticked.

Updated by Bricklou about 1 month ago Author Actions #12

Built-in roles (the ones that come with the platform, such as Administrator) cannot be edited or deleted, whoever asks; only roles created by an administrator can be changed or removed. This is what keeps the installation administrable (see #280). The description of this issue could not be updated after it was closed.

Updated by Bricklou about 1 month ago Author Actions #13

  • Status changed from Done to In Review

Updated by Bricklou about 1 month ago Author Actions #14

  • Description updated (diff)
  • Status changed from In Review to In Progress

Updated by Bricklou about 1 month ago Author Actions #15

  • Status changed from In Progress to In Review

Updated by Bricklou about 1 month ago Author Actions #16

  • Status changed from In Review to Done
Actions

Also available in: PDF Atom