snipe / snipe-it

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

Multiple Company mangement #3520

Closed Jason-Weber-UC closed 6 years ago

Jason-Weber-UC commented 7 years ago

Expected Behavior (or desired behavior if a feature request)

Is it possible to have a User be a manager (via permissions?) across multiple companies? Or can a single Company have 'sub-divisions' within it?


Actual Behavior

A person can only be a member/manager of one Company


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

calebsutton commented 7 years ago

This is something I am also interested in.

Possible solution would be to have users that are not assigned to any company be available to all companies.

My use case: I want IT and facilities to be able to use the same Snipe install. The easiest way to accomplish this is to have IT and Facilities be separate companies and have the appropriate managers assigned to the appropriate "company" and then the end users would be able to have assets from either company assigned to them.

ebonweaver commented 7 years ago

Throwing in a me too here. The new permissions are great except they are still useless for my inventory manager. I have to make him super admin because otherwise he can't see the list of companies in the drop down when making an asset, it says "results could not be loaded". This would be fixed for us if the new "Departments" field was actually available for assets. As is we use Companies for departments because Departments didn't exist until now, but since they still aren't available anywhere but People it's not useful and we can't migrate fields (as I'd like to).

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

ebonweaver commented 6 years ago

Stalebot is on a rampage! Stop it before it shuts down all the feature requests!

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

JonathonReinhart commented 5 years ago

Please re-open this issue.

macmandr197 commented 5 years ago

Has this been addressed?

rhybvan commented 5 years ago

I would also like this feature. I look after 4 companies, I have a colleague who serves 2 of them and needs access to just those two, and then others who are involved with just one. But in future, this will become even more complex and I would like to retain privacy between the companies.

Sprizzle commented 5 years ago

I would also like this. Would be nice for our manufacturing team to have their own inventory without it being confused with the IT department inventory.

rbuzzell commented 4 years ago

I have multiple different departments I'd like to have manage their own inventories. Mine handles IT needs, one handles AV needs, and one handles musical instruments.

All of us service the same user base, all have loanable equipment, and all should be in the same tool.

DerGemeine commented 4 years ago

Would be a nice addition.

jornim commented 4 years ago

Same here. We need a way to limit visibility for users who are part of a company (read: department) to only assets that are also in that company (department), without having to make all our help desk users Super Admins to be able to see those cross-company assets.

Mckovsky commented 4 years ago

Is there any chance for implemeting it? Big please!

petersanta commented 4 years ago

Please reopen this issue, this would be a nice feature! :) This was closed automatically by a bot without implementing the feature.

namarie23 commented 4 years ago

+1 to this, would this be doable?? Also have multiple departments that don't need to see each others data but share users.

Relix360 commented 4 years ago

+1

mrphefo01 commented 4 years ago

+1

nghia-dang commented 3 years ago

I don't understand the logic that a user cannot be part of multiple companies, especially when there is only 1 import method via ldap..

Eg. Parent Company A-> Sub Companies B, C, D, E

If a user is employed by a parent company .. they might potentially need access to some but not all sub companies. eg If I wanted a user to be part of the parent company A, and also be part of C and E but no access or visibility or B and D how is this accomplished in snipeit without a lot of headaches ?

poandlsl commented 3 years ago

+1 for this feature. It would be great to have users do LDAP authentication to manage assets in multiple companies. The current workaround is create multiple local accounts per user, which is quite inconvenient and not scalable.

Robert-Azelis commented 3 years ago

Hi, if you would like to manage multi company access from permission groups, yes it is possible. I have unofficial solution, but you implement on your risk :) First of all please make a copy of orginal files: .\snipe-it\config\permissions.php .\snipe-it\app\Models\User.php .\snipe-it\app\Models\Company.php Changes related to version 1.4.x and 1.5.x , not tested on older. then replace by these attached: Multicompany mod.zip

In result you should get option to manage multi company access directly in permision groups, superuser permision is not requaired.
Multi Company access

JonathonReinhart commented 3 years ago

(Speaking as an outside user, not in any capacity on behalf of the project)

@Robert-Azelis Thanks a lot for your contributions! I'll point out that it might be easier for people to review and consume your work if you instead fork snipe-it, commit your changes to a branch (e.g. multi-company-access), and then post the link to your fork/branch here. One of the main reasons is that we can see the exact revision of the code on which your changes are based. If it's really polished, you might submit a pull request for inclusion into the codebase.

jcookatlas commented 2 years ago

Please re-open. This feature is absolutely desired by the community.

joelbreton commented 2 years ago

Please re-open. This would be very useful.

Robert-Azelis commented 2 years ago

Please re-open. This would be very useful.

it's continue under [WIP] Add multicompany access permission #10383

Zack01235 commented 2 years ago

Please re-open

tepajc commented 1 year ago

This would be very useful, please re-open.

BBYStudios commented 1 year ago

+1 this would be super helpful for us as well. We would very much like to be able to permission users access to companies(departments) rather than give users super admin access. Which is a security risk.

thasleemnazeer commented 11 months ago

+1 Please add this feature.

starloopstudios commented 7 months ago

Please add this feature.

starloopstudios commented 6 months ago

Bump here, We need it!

SteeleCQ commented 6 months ago

The community really needs this as a new feature for more granular control for assets at locations and assigned to departments without giving everyone super user access. We have staff that may be responsible for managing assets at either:

michaellenhart commented 4 months ago

+1 I realy need this feature. Why can't a member be part of two companies or more, by adding a multiple choice menu where you can select as a Superadmin the companies of the member.

investlab commented 3 months ago

+1 I realy need this feature.

starloopstudios commented 3 months ago

We really need this. We are a big group and all companies are on the snipe-it instance and we have troubles letting some heads of department see things assigned to people.