[Feature]: Option to disable Location checkout
Snipe-IT Version
v8.3.7 - build 20803 (master)
How can we help?
I'm requesting a general option to disable location checkout altogether in a Snipe-It instance (including for superusers).
For our workflows, one of the most important things is which department an asset is assigned to. We have auditing, reporting, and automatic processes tied to the inherited Department information. But there's no direct Location -> Department assignment. And even if there was, some of our Locations are shared between departments. For our needs, the Location assignment is rather redundant, at least for assets, where you have two other Location fields to use.
We've also recently started experimenting with giving some of our larger departments with their own IT personnel access to our instance through multi-company, which makes things even more complicated when it comes to location checkout.
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Does the newly added multi-companies-per-user feature handle some of these issues?
Does the newly added multi-companies-per-user feature handle some of these issues?
Hmm, I double-checked the demo, not sure how it'd apply. Our main problem is trying to make sure a checked out asset always has Department information. I only mentioned multi-company with instance sharing as an example of how enforcing compliance can get more complicated.
- @Godmartinz says it might be nice to restrict checkouts to not be to Assets, or not be to locations, or both.
Might also be an interesting setting to have in the early setup process? Might be able to say "recommended" for not allowing checkouts to location.
Where this gets tricky I think is that that feels to me like a company-level setting, but not everyone uses companies. Having that setting live in two places seems.. ugh.
This might be a good use-case for Laravel Pennant.
@marcusmoore my fear with feature flags is that they often get forgotten and then scope drifts and nobody knows why.
(Not saying no, and I'll take a look, but in general, this will shit up the code more than we want, I think.)
No worries. Just throwing it out there as something that might be helpful.