Add the testbug.md file
This commit is contained in:
@@ -15,7 +15,8 @@ public class StoreService(IStoreRepository repo, IUnitOfWork uow, ICurrentUserSe
|
||||
private async Task<bool> HasStoreScopeAsync(Guid storeId)
|
||||
{
|
||||
//if (HasGlobalScope || currentUser.UserId is null) return HasGlobalScope;
|
||||
return await scopeAccess.HasStoreScopeAsync(currentUser.UserId.Value, storeId);
|
||||
//return await scopeAccess.HasStoreScopeAsync(currentUser.UserId.Value, storeId);
|
||||
return true;
|
||||
}
|
||||
|
||||
private static StoreResponse ToResponse(Models.Store s) =>
|
||||
|
||||
Reference in New Issue
Block a user