Skip to content

Lobbies · Permissions

14 modules · 73 exports · 2 repositories · 67 e2e tests · 3 routes

Who may do what in Lobbies: 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
MANAGE
findById
row.endedAt === null ? [row.hostUserId] : []

Global roles

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

RoleChecked in
LOBBY_ADDER