jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Trivial Update of "AccessControl" by AlexanderKlimetschek
Date Tue, 13 Sep 2011 18:26:10 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "AccessControl" page has been changed by AlexanderKlimetschek:
http://wiki.apache.org/jackrabbit/AccessControl?action=diff&rev1=18&rev2=19

  acl.addAccessControlEntry(EveryonePrincipal.getInstance(), privileges);
  
  // the policy must be re-set
- aMgr.setPolicy(path, cal);
+ aMgr.setPolicy(path, acl);
  
  // and the session must be saved for the changes to be applied
  session.save();

Mime
View raw message