From d6c0ad1138721a1a00356345156ab79c313bddb0 Mon Sep 17 00:00:00 2001 From: max Date: Mon, 24 Feb 2025 16:52:57 +0100 Subject: [PATCH] [CHANGE] Search all roles from users/groups --- .../Repositories/RoleRepository.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DotBased.AspNet.Authority.EFCore/Repositories/RoleRepository.cs b/DotBased.AspNet.Authority.EFCore/Repositories/RoleRepository.cs index 491080e..3b8824a 100644 --- a/DotBased.AspNet.Authority.EFCore/Repositories/RoleRepository.cs +++ b/DotBased.AspNet.Authority.EFCore/Repositories/RoleRepository.cs @@ -114,4 +114,9 @@ public class RoleRepository(IDbContextFactory contextFactory) return HandleException("Failed to delete role!", e); } } + + public async Task> GetUserRolesAsync(AuthorityUser user, int limit = 20, int offset = 0, string search = "", CancellationToken cancellationToken = default) + { + return ListResult.Failed("Not implemented!"); + } } \ No newline at end of file