diff --git a/care/security/permissions/encounter.py b/care/security/permissions/encounter.py index a59ed6e4f1..ca3eb0e93f 100644 --- a/care/security/permissions/encounter.py +++ b/care/security/permissions/encounter.py @@ -35,13 +35,13 @@ class EncounterPermissions(enum.Enum): "Can write encounter", "", PermissionContext.ENCOUNTER, - ALL_ROLES, + CLINICAL_DATA_ACCESS_ROLES, ) can_list_encounter = Permission( "Can list encounters", "Clinical data is not associated with this permission", PermissionContext.ENCOUNTER, - ALL_ROLES, + CLINICAL_DATA_ACCESS_ROLES, ) can_write_encounter = Permission( "Update Encounter and Create all associated datapoints",