diff --git a/common.props b/common.props index 8d19dd9..7850e43 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 0.1.7 + 0.1.8 $(NoWarn);CS1591 true EasyAbp Team diff --git a/src/EasyAbp.SharedResources.Application/EasyAbp/SharedResources/ResourceItems/ResourceItemAppService.cs b/src/EasyAbp.SharedResources.Application/EasyAbp/SharedResources/ResourceItems/ResourceItemAppService.cs index b6629bd..a0be81c 100644 --- a/src/EasyAbp.SharedResources.Application/EasyAbp/SharedResources/ResourceItems/ResourceItemAppService.cs +++ b/src/EasyAbp.SharedResources.Application/EasyAbp/SharedResources/ResourceItems/ResourceItemAppService.cs @@ -90,11 +90,6 @@ public override async Task> GetListAsync(GetReso if (!currentUserAllowedToManage) { query = query.Where(x => x.IsPublished); - - if (!await IsCurrentUserAuthorizedToReadAsync(resource.Id)) - { - query = query.Where(x => x.IsPublic); - } } var totalCount = await AsyncQueryableExecuter.CountAsync(query);