snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

[Feature]: Option to disable Location checkout

Open mattcarras opened this issue 10 months ago • 9 comments

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

mattcarras avatar Jan 14 '26 13:01 mattcarras

Does the newly added multi-companies-per-user feature handle some of these issues?

snipe avatar Jun 01 '26 17:06 snipe

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.

mattcarras avatar Jun 01 '26 18:06 mattcarras

  • @Godmartinz says it might be nice to restrict checkouts to not be to Assets, or not be to locations, or both.

uberbrady avatar Jun 01 '26 18:06 uberbrady

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.

uberbrady avatar Jun 01 '26 18:06 uberbrady

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.

snipe avatar Jul 06 '26 16:07 snipe

This might be a good use-case for Laravel Pennant.

marcusmoore avatar Aug 31 '26 19:08 marcusmoore

@marcusmoore my fear with feature flags is that they often get forgotten and then scope drifts and nobody knows why.

snipe avatar Aug 31 '26 21:08 snipe

(Not saying no, and I'll take a look, but in general, this will shit up the code more than we want, I think.)

snipe avatar Aug 31 '26 21:08 snipe

No worries. Just throwing it out there as something that might be helpful.

marcusmoore avatar Aug 31 '26 21:08 marcusmoore