Variable removePermissionsFromRoleConst
removePermissionsFromRole: (
role: string,
permissions: string[],
userContext?: Record<string, any>,
) => Promise<{ status: "OK" | "UNKNOWN_ROLE_ERROR" }> = Wrapper.removePermissionsFromRole
Type declaration
- (
role: string,
permissions: string[],
userContext?: Record<string, any>,
): Promise<{ status: "OK" | "UNKNOWN_ROLE_ERROR" }> Parameters
- role: string
- permissions: string[]
Optional
userContext: Record<string, any>
Returns Promise<{ status: "OK" | "UNKNOWN_ROLE_ERROR" }>