2026-08-19 23:25:08 +07:00
|
|
|
namespace mws.backend.dotnet.application.Permissions;
|
2026-08-13 23:10:22 +07:00
|
|
|
|
|
|
|
|
public interface IPermissionService
|
|
|
|
|
{
|
|
|
|
|
Task<List<MenuItemDto>> GetMenuAsync(Guid userId, CancellationToken ct = default);
|
|
|
|
|
Task EnsureAsync(Guid userId, string screen, PermissionAction action, CancellationToken ct = default);
|
|
|
|
|
}
|