Hello
I'm having a problem viewing folders within a workspace of a user.
The scenario is as follows:
1. There is a template consisting of a workspace. Such workspace has 4 folders inside.
2. A user is created and associated with the workspace.
3. Permissions are assigned to the workspace.
4. Permissions are assigned to each child folders.
5. When the new created user enters to his workspace, the 4 sub-folders cannot be seeing.
But, if Administrator user enters to the workspace of the recently created user and apply an "update" (update button) to the permissions of the workspace, then the new created user can see the sub-folders.
This is the java code I'm using to apply persmission to workspace and permissions to child folders:
NodePermissions nodePermision = node.getPermissions();
nodePermision.setSeePermission(true);
nodePermision.setSeeContentsPermission(true);
nodePermision.setModifyPermission(true);
nodePermision.setEditAttributesPermission(true);
nodePermision.setAddItemsPermission(true);
nodePermision.setReservePermission(true);
nodePermision.setDeleteVersionsPermission(true);
nodePermision.setDeletePermission(true);
nodePermision.setEditPermissionsPermission(true);
NodeRight noderight = new NodeRight();
noderight.setPermissions(nodePermision);
noderight.setRightID(userID); //userID of created user
noderight.setType("ACL");
docman.addNodeRight(node.getID(), noderight); //node.getID()= node of workspace
//node.getID()= node of child folders
Thankyou in advance
Any idea why the subfolders are not beeing displayed?