Permissions table

The Permissions table in the FitStack - V2 schema has 4 columns, keyed by Id. 2 columns in RolePermissions and UserPermissions reference it.

Catalogue of named capabilities. Emitted into the JWT as `permission` claims by Infrastructure/Security/Tokens/JwtTokenGenerator.cs, from two sources: role claims of type `permission`, and direct user grants below. No audit columns — not `Auditable`, so no soft-delete filter.

Columns (4)

Columns of the Permissions table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
Nametextnot nullDotted verb, e.g. `tokens.manage`, `users.delete`.
Descriptiontextnot null
Categorytextnot null

Relationships