Skip to content

Commit b45db79

Browse files
committed
bugfix/DEVSU-2224-setting-and-sign-missing
- DEVSU-2224 - Fix bug where report manager who are not assigned to the report cannot see settings page and sign button for said report
1 parent d35672a commit b45db79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/context/ResourceContext/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const useResources = (): ResourceContextType => {
3636
setAdminAccess(true);
3737
}
3838

39-
if (checkAccess(groups, [...ADMIN_ACCESS, 'manager'], ADMIN_BLOCK)) {
39+
if (checkAccess(groups, [...ADMIN_ACCESS, 'manager', 'Report Manager'], ADMIN_BLOCK)) {
4040
setReportSettingAccess(true);
4141
setReportEditAccess(true);
4242
}

0 commit comments

Comments
 (0)