Skip to content

Trophies · Permissions

2 modules · 11 exports · 1 repository · 6 e2e tests · 7 routes

Who may do what in Trophies: the per-object permissions it builds with every place checking them, and the checks in its code. See Permissions for how authorization works and the reference for every role and feature.

Granted here

Built at read time into what the functions return, a list of the user ids holding each permission. Checks are listed wherever they are, other features' included.

PermissionGranted byChecked in
EDIT
findById → trophyPermissions
R.unique([...(managerId ? [managerId] : []), ...DEV_IDS])
findAllForEditing → trophyPermissions
R.unique([...(managerId ? [managerId] : []), ...DEV_IDS])

Global roles

The global roles this feature's code checks, see who has each.

RoleChecked in
ADMIN
DEV
QA
STAFF