AnsweredAssumed Answered

creating and using role with export

Question asked by sachinr_bhat on Apr 20, 2010
Hi,

If the logged in user is having "Export" role then he should be able to export the metadata throughout the application and there should not be any space or content restriction. If the user is not having "export" role then he should not be able to export.  How to do this sir? I have created "Export" role as below:

alfresco/model/permissionDefinitions.xml



<permissionGroup name="Export" allowFullControl="false" expose="true" />

<permission name="_Export" expose="false" >
               <grantedToGroup permissionGroup="Export" />
</permission>

<permissionSet type="cm:content" expose="selected">
      <permissionGroup name="Export" extends="true" expose="true"/>
</permissionSet>

<permissionSet type="cm:folder" expose="selected">
     <permissionGroup name="Export" extends="true" expose="true"/>   
</permissionSet>


Thanks and Regards,
Sachin.

Outcomes