For the users who do not have right to change a template, the 'edit' button should be disabled,
All users who are either rodsadmin or the groupadmin should be able to edit the form like it is their own form - I think this a general approach for other role based operations.
We have a use case that the group admin wants to modify a template form created by his user.
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:
For the users who do not have right to change a template, the 'edit' button should be disabled,
All users who are either rodsadmin or the groupadmin should be able to edit the form like it is their own form - I think this a general approach for other role based operations.
We have a use case that the group admin wants to modify a template form created by his user.
Thanks.