Refactor authorization folder structure

This commit is contained in:
2026-08-19 11:39:44 +05:30
parent 56cd93c341
commit 45f374133f
32 changed files with 378 additions and 290 deletions
@@ -0,0 +1,9 @@
namespace Distribution.Infra.Authorization;
public interface IScopeAccessService
{
Task<bool> HasStoreScopeAsync(Guid userId, Guid storeId);
Task<bool> HasRouteScopeAsync(Guid userId, Guid routeId);
Task<bool> HasRegionScopeAsync(Guid userId, Guid regionId);
Task<List<Guid>> GetAccessibleStoreIdsAsync(Guid userId);
}