feat: 重构 RBAC1 角色权限模型
This commit is contained in:
@@ -28,4 +28,9 @@ public interface IIdentityUserRepository
|
||||
/// <param name="keyword">可选关键字(账号/名称)。</param>
|
||||
/// <param name="cancellationToken">取消标记。</param>
|
||||
Task<IReadOnlyList<IdentityUser>> SearchAsync(long tenantId, string? keyword, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// 获取指定租户、用户集合对应的用户(只读)。
|
||||
/// </summary>
|
||||
Task<IReadOnlyList<IdentityUser>> GetByIdsAsync(long tenantId, IEnumerable<long> userIds, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user