Variable createNewRoleOrAddPermissionsConst
createNewRoleOrAddPermissions: (
role: string,
permissions: string[],
userContext?: Record<string, any>,
) => Promise<{ createdNewRole: boolean; status: "OK" }> = Wrapper.createNewRoleOrAddPermissions
Type declaration
- (
role: string,
permissions: string[],
userContext?: Record<string, any>,
): Promise<{ createdNewRole: boolean; status: "OK" }> Parameters
- role: string
- permissions: string[]
Optional
userContext: Record<string, any>
Returns Promise<{ createdNewRole: boolean; status: "OK" }>