snipe / snipe-it

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

Feature Request: First class Ownership field #7662

Open twisted3motions opened 4 years ago

twisted3motions commented 4 years ago

Server (please complete the following information):

Is your feature request related to a problem? Please describe. Probably the biggest need I have is an "owner" field.

At the university I work at each machine is managed by an IT group which fits into a company nicely. For example.... You may have companies like College of Engineering, School of Business, Department of Administration. Each of those would have their own admins and need permissions segregated. Company maps well to tracking the custodian or manager of the asset.

However, beneath that... each machine is owned by a particular department, lab, or other group. This needs to be tracked. There are many use cases I won't bore you with. Under my IT department alone there are 30 research labs with their own lists of equipment we inventory for them.

Anyways. Just because the asset is checked out to John or managed by Engineering IT doesn't mean that it doesn't belong to the Fusion Lab. This info is very important, but we are lucky to know the list of possible owners before hand.

I'm surprised other than company (which seems uniquely fit for situations where there are admins of different groups), there is no default field indicating asset ownership. In a private institution I suppose everything would belong to one identity but here we have individual labs that use their grant moneys to purchase equipment only for their use.

Describe the solution you'd like

Using a custom field stinks as I can't change its position to just under the company field. By default its also one of the last columns in the list view. The owner field is probably one of the most important, used, and viewed fields.

With a custom field I also don't get a nice effect of clicking on a blue link and being shown info about that owner and all the assets they own.

I would love an owner field that behaves like the company field and that is a first class citizen in the user interface.

twisted3motions commented 4 years ago

Departments field unfortunately is just a container of users and isn't applied to assets.

Sxderp commented 4 years ago

I had requested something similar. https://github.com/snipe/snipe-it/issues/7544 Not much traction. =-/

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

Sxderp commented 4 years ago

yes

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

pbrink231 commented 4 years ago

got around to checking this out. made department apart of an asset.

https://github.com/pbrink231/snipe-it/tree/feature-58-add-department-to-asset-accessory

pull request:

7843

Will make a pull request when I get a chance.

GitHub
pbrink231/snipe-it
A free open source IT asset/license management system - pbrink231/snipe-it
Sxderp commented 4 years ago

I'm not sure just adding department to an asset solves the overall issue.

pbrink231 commented 4 years ago

Our situation sounds similar to yours.

We have a factory which actually has assets from several companies. We also have departments or areas you could say that purchase their own items and manage them.

A couple scenarios IT department manages all computers in the factory. Cutting department manages their plotting machines, cutting tables, cutting machines Sub Printing area has a their own consumables they manage. several other departments with a mix of assets managed by them and managed by IT or others.

@Sxderp The department field is already connected with a company and users. So future could add permissions down to an asset level based on user and department. In your scenario would a department, lab, group not just be a department in the company that you could set as the manager of the asset? Can you describe how that does not solve the issue and how the owner field would work different in your scenario?

Could also set a flag on department like isOwnerable or something so only those departments can be used.

Sxderp commented 4 years ago

Now that I've taken the time to review, I think using department would be sufficient.

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

Sxderp commented 4 years ago

yes

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

Sxderp commented 4 years ago

yes

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

twisted3motions commented 4 years ago

Yep.

stale[bot] commented 4 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

Sxderp commented 4 years ago

yes

stale[bot] commented 4 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] commented 3 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

Sxderp commented 3 years ago

yes

stale[bot] commented 3 years ago

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

FreeMinded commented 1 year ago

This feature would be very useful for our use case. We (will) have the assets of our customers (nicely mapping to companies) in SnipeIT while the assets itself can either belong a) to the customer, b) to us as service provider or c) to a third party in case of rental/leasing.

My favorite solution would be an Ownership field as proposed by @twisted3motions. Technically it should be a "copy" of the company field with dropdown from the same list of companies.

Alternatively the custom field form element List Box could be extended in such a way that an existing data set (in this case companies) could be used as field value instead of having to add them to the text box.

It works with custom fields the way they today are but a first class Ownership field would make it so much better.

The department functionality does not work for our use case.