]> git.argeo.org Git - gpl/argeo-jcr.git/blobdiff - org.argeo.cms.jcr/src/org/argeo/jcr/JcrUtils.java
Introduce do as admin
[gpl/argeo-jcr.git] / org.argeo.cms.jcr / src / org / argeo / jcr / JcrUtils.java
index 1f1fa11217d01e76a5bbf96d4652de4c5459c5b6..7f157cde661064941f69e5874dc39d484ff79a27 100644 (file)
@@ -1151,7 +1151,7 @@ public class JcrUtils {
 //                             } catch (InterruptedException e1) {
 //                                     // ignore
 //                             }
-                               
+
                                workspaceSession = repository.login(credentials, workspaceName);
                        }
                        return workspaceSession;
@@ -1382,7 +1382,7 @@ public class JcrUtils {
 
        /**
         * Convenience method for adding a single privilege to a principal (user or
-        * role), typically jcr:all
+        * role), typically jcr:all. Session is saved.
         */
        public synchronized static void addPrivilege(Session session, String path, String principal, String privilege)
                        throws RepositoryException {