usnistgov / NEMO

NEMO is a laboratory logistics web application. Use it to schedule reservations, control tool access, track maintenance issues, and more.
Other
134 stars 63 forks source link

[request] Access invisible tool pages through hard links #245

Open massey21 opened 1 month ago

massey21 commented 1 month ago

Overview Currently, tools marked 'invisible' show a blank page if you navigate to their hard link (e.g., nemo.mydomain.tld/tool-control/123/). I would instead like to be able to see the invisible tool, even if it's unfindable by any other means.

Use Case Following my "everything is a tool" paradigm, I want a private ticketing system that I or my staff can use to assign tasks to ourselves (or each other) without it being public to all 250 users. So for example, I want to make a tool called "Travis" that's marked invisible, and then report problems to myself to create a sort of to-do list. Ideally (because it's invisible) it wouldn't generate email notifications, but I can work around that if needed.

Why in NEMO? Centralizing this in NEMO versus using another task tracking program is just helpful because it makes NEMO my one stop for everything facility-related.

Elements Involved (a) Don't hide the 'invisible' tool page when navigating by hard URL (b) [optional] disable email notifications for problems/tasks on invisible tools

Thanks for considering!

rptmat57 commented 1 month ago
  1. My only concern with that part is that showing the tool control page could lead to some issues if people try to engage the tool. We would need to double check that most of those functions are not allowed (unless user is a staff member maybe). We could also allow showing hidden tools by hard links only for staff?
  2. For this second element, I believe hidden tools do show up in the maintenance page and tasks can still be updated even if the tool is hidden. we might want to keep that feature in case there are heavy repairs during which the tool is being hidden in the meantime, but we want staff to update the description during those repairs and people to be notified.

Thoughts?

massey21 commented 1 month ago
  1. Making it accessible only to staff would work.
  2. I might be mistaken, but I thought I tested this specifically last week and found that it doesn't show up in the maintenance page. As long as only staff can see it, I wouldn't be opposed if it did/does show up.