Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- i/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-api/src/main/java/org/xwiki/security/authorization/Right.java
- +++ w/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-api/src/main/java/org/xwiki/security/authorization/Right.java
- @@ -122,7 +122,7 @@
- VIEW = new Right("view", ALLOW, DENY, true, null, WIKI_SPACE_DOCUMENT, true);
- EDIT = new Right("edit", ALLOW, DENY, true,
- new RightSet(VIEW), WIKI_SPACE_DOCUMENT, false);
- - DELETE = new Right("delete", DENY, DENY, true, null, WIKI_SPACE_DOCUMENT, false);
- + DELETE = new Right("delete", DENY, DENY, true, null, WIKI_SPACE, false);
- CREATOR = new Right("creator", DENY, ALLOW, false,
- new RightSet(DELETE), EnumSet.of(EntityType.DOCUMENT), false);
- REGISTER = new Right("register", ALLOW, ALLOW, true, null, WIKI_ONLY , false);
Advertisement
Add Comment
Please, Sign In to add comment