[CHANGE] Updated models

This commit is contained in:
max
2025-01-08 16:30:51 +01:00
parent fd733b7238
commit 3ccd3106c1
3 changed files with 23 additions and 7 deletions

View File

@@ -19,8 +19,16 @@ public partial class AuthorityManager
return Result<AuthorityRole>.Failed("Not implemented!");
}
public async Task AddUserToRole(AuthorityUser user, AuthorityRole role, CancellationToken? cancellationToken = null)
public async Task AddRoleToUserAsync(AuthorityUser user, AuthorityRole role, CancellationToken? cancellationToken = null)
{
}
public async Task RemoveRoleFromUserAsync(AuthorityRole role, AuthorityUser user, CancellationToken? cancellationToken = null)
{
}
public async Task AddRoleToGroupAsync(AuthorityRole role, AuthorityGroup group, CancellationToken? cancellationToken = null)
{
}
}