[CHANGE] Search all roles from users/groups
This commit is contained in:
@@ -114,4 +114,9 @@ public class RoleRepository(IDbContextFactory<AuthorityContext> contextFactory)
|
||||
return HandleException("Failed to delete role!", e);
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<ListResult<AuthorityRoleItem>> GetUserRolesAsync(AuthorityUser user, int limit = 20, int offset = 0, string search = "", CancellationToken cancellationToken = default)
|
||||
{
|
||||
return ListResult<AuthorityRoleItem>.Failed("Not implemented!");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user