Substratal Apps Substratal Apps Hub specs
GitHub

Help Screens Roles & permissions

User — Roles ROL-04

Assign and remove roles for a user.

Who can use itusers.list (read), roles.manage (write)
Where it is/admin/users/:userId/roles · link: https://hub.substratalapps.com/admin/users/:userId/roles or substratal://admin/users/:userId/roles
Available onWeb (PWA), iOS / iPadOS, Android, Windows, Linux (GNOME), macOS
PhaseMVP

What you can do here

  • Assign — idempotent; 200 already held
  • Remove — 409 → implicit role

On your platform

AppStatusHow it's built
Web (PWA)—tabpanel (route segment)
iOS / iPadOS—Segment content
AndroidPlannedTab content
Windows—SelectorBar item content
Linux (GNOME)—AdwViewStack page
macOS—Tab content inside detail

Status is reported by each app's repository; — means that app doesn't report it yet.

For developers: API calls

MethodPathWhat it does
GET/users/{id}/rolesList a user's Role assignments (including implicit default_app_role)
POST/users/{id}/roles/{roleId}Assign a Role (idempotent — 200 if already held)
DELETE/users/{id}/roles/{roleId}Remove a Role assignment (idempotent)

Every call sends Substratal-Version: 1. Paths are at the host root, with no /v1.

Full screen specification

Last updated 2026-10-24 · Built 2026-10-25 from a9ef3be · API 1.0.0-draft.13 · Substratal-Version: 1