addRoleToUser | (input) => Promise< | { didUserAlreadyHaveRole: boolean; status: "OK"; } | { status: "UNKNOWN_ROLE_ERROR"; }> | recipe/userroles/types.ts:46 |
createNewRoleOrAddPermissions | (input) => Promise<{ createdNewRole: boolean; status: "OK"; }> | recipe/userroles/types.ts:81 |
deleteRole | (input) => Promise<{ didRoleExist: boolean; status: "OK"; }> | recipe/userroles/types.ts:109 |
getAllRoles | (input) => Promise<{ roles: string[]; status: "OK"; }> | recipe/userroles/types.ts:114 |
getPermissionsForRole | (input) => Promise< | { permissions: string[]; status: "OK"; } | { status: "UNKNOWN_ROLE_ERROR"; }> | recipe/userroles/types.ts:90 |
getRolesForUser | (input) => Promise<{ roles: string[]; status: "OK"; }> | recipe/userroles/types.ts:66 |
getRolesThatHavePermission | (input) => Promise<{ roles: string[]; status: "OK"; }> | recipe/userroles/types.ts:104 |
getUsersThatHaveRole | (input) => Promise< | { status: "OK"; users: string[]; } | { status: "UNKNOWN_ROLE_ERROR"; }> | recipe/userroles/types.ts:71 |
removePermissionsFromRole | (input) => Promise<{ status: "OK" | "UNKNOWN_ROLE_ERROR"; }> | recipe/userroles/types.ts:100 |
removeUserRole | (input) => Promise< | { didUserHaveRole: boolean; status: "OK"; } | { status: "UNKNOWN_ROLE_ERROR"; }> | recipe/userroles/types.ts:56 |