Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
dex 1371 - remove data manager role (#442)
Browse files Browse the repository at this point in the history
* Remove data manager
  • Loading branch information
Emily-Ke authored Aug 11, 2022
1 parent ab9a473 commit 2b14d53
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"STAGE": "Stage",
"NO_PENDING_PUBLIC_SIGHTINGS": "There are no pending public sightings",
"DATA_UNAVAILABLE": "Data unavailable",
"DATA_MANAGER": "Data Manager",
"ANNOTATION_CLASS": "Annotation class",
"INDIVIDUAL_METADATA": "Individual profile",
"COMMIT": "Commit",
Expand Down
3 changes: 1 addition & 2 deletions src/components/AuthenticatedAppHeader/ActionsPane.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const actions = [
{
id: 'pending-citizen-science-sightings',
href: '/pending-citizen-science-sightings',
permissionsTest: userData =>
userData?.is_admin || userData?.is_data_manager,
permissionsTest: userData => userData?.is_admin,
messageId: 'PENDING_CITIZEN_SCIENCE_SIGHTINGS',
icon: PublicIcon,
},
Expand Down
4 changes: 0 additions & 4 deletions src/pages/userManagement/constants/roleSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ export default [
id: 'is_user_manager',
titleId: 'USER_MANAGER',
},
{
id: 'is_data_manager',
titleId: 'DATA_MANAGER',
},
{
id: 'is_exporter',
titleId: 'EXPORTER',
Expand Down

0 comments on commit 2b14d53

Please sign in to comment.