Skip to content

basalt / ai/src / permissionList

Function: permissionList() ​

> permissionList(name): string[]

Defined in: ai/src/make/permissions.ts:8

The RBAC permissions for a resource — the exact <plural>.<action> strings its route guards check on (F5 derives guards from the entity name, so declaring them here keeps a single source of truth that can't drift from the guards).

Parameters ​

name ​

string

Returns ​

string[]

Released under the MIT License.