Kamil created JCR-3922: -------------------------- Summary: Change exception message Key: JCR-3922 URL: https://issues.apache.org/jira/browse/JCR-3922 Project: Jackrabbit Content Repository Issue Type: Improvement Reporter: Kamil Priority: Minor
When you try assign principal based privilege to an admin, an exception is thrown: {noformat} Invalid principal. Expected: org.apache.jackrabbit.core.security.user.UserImpl$NodeBasedAdminPrincipal {noformat} Maybe "You cannot assign privilege to admin account" would be more meaningful? -- This message was sent by Atlassian JIRA (v6.3.4#6332)