WebODM icon indicating copy to clipboard operation
WebODM copied to clipboard

"Add Project" button should not be seen for a user who only has "view" permissions.

Open tariqislam opened this issue 1 year ago • 0 comments

How did you install WebODM (docker, installer, etc.)?

Docker

What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

Chrome 111 on macOS (13.2)

What is the problem?

Observed behavior:

This regards a logged in user who only has the following permissions: app | Project | Can view Project app | Task | Can view Task

When the user logs into WebODM, they can see the "Add Project" button. This button fails when clicked (project is not created), since the user does not have permissions to create a project, so the backend functionality is working as expected.

Expected behavior:

The "Add Project" button should not be seen in the UI.

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a dataset, you must include a copy of your dataset uploaded on Dropbox, Google Drive or https://dronedb.app)

Details are above.

tariqislam avatar Mar 31 '23 05:03 tariqislam