basalt / teams/src / RoleAssigner
Interface: RoleAssigner
Defined in: teams/src/teams.ts:95
Minimal role-store surface — a @basaltkit/permissions AccessStore satisfies it.
Methods
assignRole()
> assignRole(userId, role, scope): Promise<void>
Defined in: teams/src/teams.ts:96
Parameters
userId
string
role
string
scope
string
Returns
Promise<void>
removeRole()
> removeRole(userId, role, scope): Promise<void>
Defined in: teams/src/teams.ts:97
Parameters
userId
string
role
string
scope
string
Returns
Promise<void>