irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

Give right to rodsadmin and groupadmin roles to modify any existing metadata template #297

Closed mstfdkmn closed 2 years ago

mstfdkmn commented 2 years ago

Once any type of users click the template tab, he/she can see all created public metadata templates together with an 'edit' button. This does give the idea of a user can modify this template. Because once the edit is clicked, the template forms seems to be reached. However a user apart from the owner of the template cannot modify it. https://github.com/irods-contrib/metalnx-web/blob/9546bce035740060a63db23b046115ed3e3f8d0f/src/metalnx-web/src/main/java/com/emc/metalnx/controller/TemplateController.java#L304

A proposal is:

We have a use case that the group admin wants to modify a template form created by his user.

Thanks.