Skip to content

Commit

Permalink
Merge pull request #504 from ertush/hotfix
Browse files Browse the repository at this point in the history
Added permissions for editing facilities to National Users
  • Loading branch information
ertush authored Oct 14, 2024
2 parents 33fd8fc + 13ea7df commit 76f7982
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/facilities/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ function Facility(props) {
(
userCtx?.groups[0]?.id == 2 || // SCHRIO
userCtx?.groups[0]?.id == 1 || // CHRIO
userCtx?.groups[0].id == 5 || // National
userCtx?.groups[0].id == 6 || // National
userCtx?.groups[0]?.id == 7 || // SuperAdmin
userCtx?.groups[0].id == 11 // Data cleaning National
) &&
Expand Down

0 comments on commit 76f7982

Please sign in to comment.