Skip to content

Commit

Permalink
SAK-50642 Content also allow dropbox realm creation (sakaiproject#13055)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored Nov 22, 2024
1 parent 6e53388 commit 467e283
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public String handleSet(EntityReference entityRef, Map<String, Object> params) {
} catch (GroupNotDefinedException e) {
try {
// Only reason to be here is for a folder like /content/group/SITE_ID/FolderName/SubFolderName/
if (!reference.matches("^/content/group/" + siteId + "/.+")) {
if (!reference.matches("^/content/(group|group-user)/" + siteId + "/.*")) {
throw new IllegalArgumentException("Invalid reference format: " + reference);
}
authzGroup = authzGroupService.addAuthzGroup(reference);
Expand Down

0 comments on commit 467e283

Please sign in to comment.