irods-contrib / metalnx-web

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

Edit functionality provided by “Preview” tab for an editable file type must not appear in case you have read only access #257

Closed mstfdkmn closed 3 years ago

mstfdkmn commented 3 years ago

You can see edit mode inside the “Preview” even for the editable data objects (files) that you have only read access to. Nonetheless you cannot modify because it throws “500 - Internal Server Error”.

Once you have only "read" access,

image

you should not have/see the editable mode of the preview.

image

After you edit, if you click on the "save", you will get 500 server error.

image

Thank you.

trel commented 3 years ago

@connectbo please close if this is complete.

connectbo commented 3 years ago

@trel It's complete. No 'save' or 'cancel' button if you have read only access. Seems like I don't have the permission to close this issue.