Guest User

Untitled

a guest
Aug 6th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. --- i/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-api/src/main/java/org/xwiki/security/authorization/Right.java
  2. +++ w/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-api/src/main/java/org/xwiki/security/authorization/Right.java
  3. @@ -122,7 +122,7 @@
  4. VIEW = new Right("view", ALLOW, DENY, true, null, WIKI_SPACE_DOCUMENT, true);
  5. EDIT = new Right("edit", ALLOW, DENY, true,
  6. new RightSet(VIEW), WIKI_SPACE_DOCUMENT, false);
  7. - DELETE = new Right("delete", DENY, DENY, true, null, WIKI_SPACE_DOCUMENT, false);
  8. + DELETE = new Right("delete", DENY, DENY, true, null, WIKI_SPACE, false);
  9. CREATOR = new Right("creator", DENY, ALLOW, false,
  10. new RightSet(DELETE), EnumSet.of(EntityType.DOCUMENT), false);
  11. REGISTER = new Right("register", ALLOW, ALLOW, true, null, WIKI_ONLY , false);
Advertisement
Add Comment
Please, Sign In to add comment