how to give manage permissions for selected items in a folder

cancel
Showing results for 
Search instead for 
Did you mean: 
kavithag
Partner

how to give manage permissions for selected items in a folder

Hi All,

I want to give manage permissions to all the selected files and want to overide the permissions which the file already contains.Thanks in advance.

2 Replies
krutik_jayswal
Senior Member II

Re: how to give manage permissions for selected items in a folder

Each file and folder(Node) has different set of permission in alfresco.If you would like to display those in one page, its going to be bit difficult.

Few basic things on permission.

  1. Root level permission are READ,WRITE,DELETE etc...By Grouping this permission with permutation and combination we are creating role, which are Collaborator ,Consumer,Co-Ordinator etc..
  2. This role are assigned to USER or GROUP for particular node.

Current Manage Permission page only include details of one noderef. You need to customize it in such a way so that  it will display all the details.

Below are file which are responsible for manage-permission page.

  • share-war\WEB-INF\classes\alfresco\templates\org\alfresco\manage-permissions.ftl 
  • share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\manage-permissions\manage-permissions.get.js
  • share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\manage-permissions\manage-permissions.get.html.ftl
  • share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\manage-permissions\manage-permissions.get.desc.xml
kavithagundadi
Member II

Re: how to give manage permissions for selected items in a folder

Hi Krutik,

Thanks for your Response .

Am new to Alfresco.I understood that each and every file have different permissions.our requirement is when we select multiple files or multiple folders, "Manage permission" should show in "Selected items" drop down .if we click on it that should navigate to manage permission page in which inherit permissions should display all the permissions in one page.if we give permissions it should override previous permission which a file contains.

i have created Manage Permission menu item in selected items menu drop down by modifying "share-documentlibrary-config.xml", it is navigating to manage permission page which is showing like the image shown below:

Thanks in Advance!!