Skip to content

Commit

Permalink
fix: revert copy permission part
Browse files Browse the repository at this point in the history
...as this would cause the current code to filter out all
cohorts. Current code requires the user to have ALL read permissions listed
in the schema to see a cohort definition...
  • Loading branch information
pieterlukasse committed Jun 14, 2024
1 parent 5d153d5 commit 8c9caf9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public class CohortDefinitionPermissionSchema extends EntityPermissionSchema {

put("cohortdefinition:%s:version:get", "Get list of cohort versions");
put("cohortdefinition:%s:version:*:get", "Get cohort version");
put("cohortdefinition:%s:copy:get", "Copy the specified cohort definition");
}
}
};

public CohortDefinitionPermissionSchema() {
Expand Down

0 comments on commit 8c9caf9

Please sign in to comment.