cancel
Showing results for 
Search instead for 
Did you mean: 

CreateChildren permission

anusk
Champ in-the-making
Champ in-the-making
Hi all,

I need to create a custom role that allow to create subspaces in a space, but not create content.
I've read some posts in the forum about create a custom role to add createChildren permission basing on the content type (in the other cases, create content, but no spaces), but with no solution provided.

I noticed that in the permissionDefinitions.xml exists two different permission sets for content and folder:
 <!– =============================== –>
   <!– Permissions specific to content –>
   <!– =============================== –>
  
   <permissionSet type="cm:content" expose="selected">

      <!– Content specific roles.                                                       –>
     
      <permissionGroup name="Coordinator" extends="true" expose="true"/>
      <permissionGroup name="Collaborator" extends="true" expose="true"/>
      <permissionGroup name="Contributor" extends="true" expose="true"/>
      <permissionGroup name="Editor" extends="true" expose="true"/>
      <permissionGroup name="Consumer" extends="true" expose="true"/>
      <permissionGroup name="RecordAdministrator" extends="true" expose="false"/>
     
   </permissionSet>
   
   
    <permissionSet type="cm:folder" expose="selected">

      <!– Content folder specific roles.                                                       –>
     
      <permissionGroup name="Coordinator" extends="true" expose="true"/>
      <permissionGroup name="Collaborator" extends="true" expose="true"/>
      <permissionGroup name="Contributor" extends="true" expose="true"/>
      <permissionGroup name="Editor" extends="true" expose="true"/>
      <permissionGroup name="Consumer" extends="true" expose="true"/>
      <permissionGroup name="RecordAdministrator" extends="true" expose="false"/>
      </permissionSet>
I added a custom role to permissionSet type="cm:folder" like this:

<permissionGroup name="New_Role_Test" extends="true" requiresType="true" expose="true"/>
and inside the <permissionSet type="cm:cmobject" expose="selected"> I put
<permissionGroup name="New_Role_Test" allowFullControl="false" expose="true">
       <includePermissionGroup type="sys:base" permissionGroup="CreateChildren"/>
      </permissionGroup>

But the user is still able to add content.
Could anyone tell me if it is possible to distinct between content types in the "createChildren" permission???



Kind Regards,
Ana
2 REPLIES 2

deeps
Champ in-the-making
Champ in-the-making
I am also facing same problem and not getting any solution.

I want to show Create and upload button only inside document library. But for sub folders, means folder which are present inside document library, i don't allow user to create folder inside sub folders or upload any document. Can you provide the code and way you did this.


Thanks in advance.

deeps
Champ in-the-making
Champ in-the-making
I want make create children permission false inside document library for all users present in particular site. Can anyone will help me????