Continue refactoring of home.
[lgpl/argeo-commons.git] / org.argeo.node.api / src / org / argeo / node / NodeUtils.java
index 378ec3322032a13a9d043374546d999ba72c6684..a735e181fb6b10d3cb9e1134f32fc4537d8ed049 100644 (file)
@@ -182,7 +182,7 @@ public class NodeUtils {
 
        private static void checkGroupWorkspace(Session session, String groupname) {
                String workspaceName = session.getWorkspace().getName();
-               if (!NodeConstants.GROUPS.equals(workspaceName))
+               if (!NodeConstants.SRV.equals(workspaceName))
                        throw new IllegalArgumentException(workspaceName + " is not the group workspace for group " + groupname);
        }