jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Carriedo Scher <fcarrie...@gmail.com>
Subject Re: [Jackrabbit Wiki] Trivial Update of "AccessControl" by AlexanderKlimetschek
Date Tue, 13 Sep 2011 21:17:10 GMT
Thank you very much for updating the Wiki, really nice from you and useful
for lot's of us!

Best regards!

2011/9/13 Apache Wiki <wikidiffs@apache.org>

> 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