Skip to content

Commit

Permalink
Merge branch 'master' into epic-primeng-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes authored Aug 20, 2024
2 parents eb5b46f + bffd903 commit efe5c49
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ private void checkPagePermission(final PageContext context, final IHTMLPage html
context.getPageMode().respectAnonPerms);

if (!doesUserHavePermission) {
final String message = String.format("User: %s does not have permissions %s for object %s",
final String message = String.format("User: %s does not have permissions %s for page %s",
context.getUser(),
PermissionLevel.READ, htmlPageAsset);
PermissionLevel.READ, htmlPageAsset.getURI());
throw new DotSecurityException(message);
}
}
Expand Down

0 comments on commit efe5c49

Please sign in to comment.