[CHANGE] Search all roles from users/groups
This commit is contained in:
parent
e65b937128
commit
d6c0ad1138
1 changed files with 5 additions and 0 deletions
|
|
@ -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!");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue