Skip to content

Commit

Permalink
fix: added missing readPermissions for conceptsets
Browse files Browse the repository at this point in the history
These changes remove the need for having these permissions granted as * permission.
Instead, users now get a conceptset specific permission.
  • Loading branch information
pieterlukasse committed Aug 2, 2024
1 parent ca5f942 commit cbffd39
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public class ConceptSetPermissionSchema extends EntityPermissionSchema {
put("conceptset:%s:get", "view conceptset definition with id %s");
put("conceptset:%s:expression:get", "Resolve concept set %s expression");
put("conceptset:%s:version:*:expression:get", "Get expression for concept set %s items for default source");
put("conceptset:%s:expression:*:get", "expression:*:get permission, specific to this conceptset with id %s");
put("conceptset:%s:version:get", "version:get permission, specific to this conceptset with id %s");
put("conceptset:%s:copy-name:get", "copy-name:get permission, specific to this conceptset with id %s");
}};

public ConceptSetPermissionSchema() {
Expand Down

0 comments on commit cbffd39

Please sign in to comment.