Keep working on authorisations.
[gpl/argeo-suite.git] / org.argeo.suite.core / src / org / argeo / suite / SuiteUtils.java
index 18c91a179a7bd0e090ff338d1d1313e5844015ba..b5acb2727857c4e0df8e2f659383ee7677ff57ca 100644 (file)
@@ -38,7 +38,7 @@ public class SuiteUtils {
                                JackrabbitSecurityUtils.denyPrivilege(adminSession, userNode.getPath(), SuiteRole.coworker.dn(),
                                                Privilege.JCR_READ);
                                JcrUtils.addPrivilege(adminSession, userNode.getPath(), new X500Principal(userDn.toString()).getName(),
-                                               Privilege.JCR_ALL);
+                                               Privilege.JCR_READ);
                        } else {
                                userNode = usersBase.getNode(uid);
                        }