diff --git a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectBoardList/ProjectBoardListQueryHandler.cs b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectBoardList/ProjectBoardListQueryHandler.cs index 740758be..5a085060 100644 --- a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectBoardList/ProjectBoardListQueryHandler.cs +++ b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectBoardList/ProjectBoardListQueryHandler.cs @@ -31,7 +31,7 @@ public class ProjectBoardListQueryHandler : IBaseQueryHandler x.AdditionalTimes).AsQueryable(). Include(x => x.Skill).AsQueryable(); - if (!_authHelper.HasPermission(ProgramManagerPermissionCode.Board.All.ViewAll)) + if (!_authHelper.HasPermission(ProgramManagerPermissionCode.Board.ViewAllUsersProjects.Code)) { queryable = queryable.Where(x => x.CurrentAssignedUserId == currentUserId); }