hydroserver2 / hydroserver

Documentation and issue tracker for HydroServer and related applications
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Restrict thing deletion to primary owner #183

Closed daniel-slaugh closed 3 weeks ago

daniel-slaugh commented 1 month ago

Currently, the data management app lets a secondary owner access the thing deletion modal, but is given a 404 error if they try to delete it. I think the 404 is probably good, but the frontend should hide the delete btn and modal from a secondary user and the access control tooltip should mention that only the primary owner can delete a Thing.