Merged V2.2 to HEAD

8033: Merged V2.1 to V2.2
      7728: Fix and patch for WCM-893 - now only users explicitly invited to a Web Project can see it in the web-client
      7954: Missing file from CHK-2018 - Fix and patch for WCM-893
   8042: Fixed AWC-1588: Exception message for unsupported target mimetype


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2008-03-07 04:11:23 +00:00
parent d6bebaadfc
commit 7cdde20e6e

View File

@@ -114,6 +114,10 @@ public class InviteWebsiteUsersWizard extends BaseInviteUsersWizard
{
super.finishImpl(context, outcome);
// break the permissions inheritance on the node so that only assigned users can access it
NodeRef nodeRef = this.getNode().getNodeRef();
this.getPermissionService().setInheritParentPermissions(nodeRef, false);
// create a sandbox for each user appropriately with permissions based on role
// build a list of managers who will have full permissions on ALL staging areas
List<String> managers = new ArrayList<String>(4);