AnsweredAssumed Answered

Inherit Parent Space Permissions

Question asked by mouldy63 on Apr 20, 2007
Latest reply on Apr 20, 2007 by mouldy63

I'm creating a new space with the following code:

ParentReference parentReference = new ParentReference(
      "/app:company_home/cm:riskwrite" + parentXpath,
      Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, assocName));

NamedValue[] properties = new NamedValue[]{Utils.createNamedValue(Constants.PROP_NAME, nodeName)};
CMLCreate create = new CMLCreate("1", parentReference, null, null, null, Constants.TYPE_FOLDER, properties);
CML cml = new CML();
cml.setCreate(new CMLCreate[]{create});

This works fine, but I want the new space to NOT inherit the parent space permissions. I can't find any help on this in the wiki or forums. Can anyone help please.