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

Commit

Permalink
perms fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naknomum committed Nov 15, 2023
1 parent dfa0961 commit 0f69978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/modules/users/permissions/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
],
('Encounter', AccessOperation.READ): ['is_researcher'],
('Encounter', AccessOperation.WRITE): ['is_active'], # TODO is this still correct
('Encounter', AccessOperation.EXPORT): ['is_admin', 'is_exporter'],
('Sighting', AccessOperation.READ): ['is_researcher'],
('Sighting', AccessOperation.WRITE): ['is_active'],
('Sighting', AccessOperation.DELETE): ['is_admin'],
Expand Down

0 comments on commit 0f69978

Please sign in to comment.