Role.
A named set of grants; platform originals a tenant copies
Figure 1Rolespecified
- kind
- row
- scope
- platform
- key
- its name and its owner
- store
- postgres
- family
- people
Fields#
| field | type | required | note |
|---|---|---|---|
name | text | yes | |
grants | Grant | yes | |
original | id | no | where a copy came from |
plain_words | text | yes | what the role lets a person do, shown where a role is given |
owner | id | no | the tenant that copied the role; absent on a platform original, which every tenant has |
Routes that use it#
No route takes or returns Role directly. The record holds it, and the objects that point at it reach it.