Skip to content

Commit

Permalink
Add list of roles that can view other orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Oct 7, 2024
1 parent c743418 commit 7ff2797
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/config/AuthRoles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,15 @@ export const SubmitDataSubmissionRoles: UserRole[] = [
"Data Curator",
"Admin",
];

/**
* Defines a list of roles that are allowed to view Data Submissions
* outside of their organization
*/
export const canViewOtherOrgRoles: UserRole[] = [
"Admin",
"Data Commons POC",
"Data Curator",
"Federal Lead",
"Federal Monitor",
];

0 comments on commit 7ff2797

Please sign in to comment.