snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.21k stars 3.2k forks source link

Multiple different companies cannot share the same Asset Tag #12374

Open LCrew opened 1 year ago

LCrew commented 1 year ago

Debug mode

Describe the bug

Hello!

Currently implementing SnipeIT in a few daughter companies which are all under the same big corp, but the assets they own are different, sometimes their Asset Numbers overlap, would it be possible to seperate them, so that there could be multiple Assets with the same ID, but not in the same company?

Reproduction steps

  1. Create Asset in Company #1 with a tag 03-101
  2. Find out that there's also an Asset in Company #2 with the same tag 03-101
  3. Try to squeel through by using another suffix to the Asset Tag -1 [03-101-1]
  4. Try to remember the next time you find that asset in the wild and SnipeIT gives the wrong result, that you added a Suffix for that company. ...

Expected behavior

Company #1 and Company #2 can both share an Asset Tag.

But Company #1 OR Company #2 can't have the same Asset Tag within their own Assets.

Screenshots

No response

Snipe-IT Version

6.0.14

Operating System

Docker - Ubuntu

Web Server

Apache?

PHP Version

7.4.3

Operating System

Win 11

Browser

Chrome

Version

109.0.5414.75

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

welcome[bot] commented 1 year ago

šŸ‘‹ Thanks for opening your first issue here! If you're reporting a šŸž bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.