Preparing search index...
The search index is not available
api
api
app/auth/permissions/roles
defineRolesForUser
FunctiondefineRolesForUser
define
Roles
For
User
(
user
,
memberships
)
:
MongoAbility
<
AbilityTuple
,
MongoQuery
>
Parameters
user
:
User
memberships
:
Membership
[]
Returns
MongoAbility
<
AbilityTuple
,
MongoQuery
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
api
Loading...