Admin user is not able to checkout assets
Debug mode
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug
I recently set up a "Full Multiple Companies Support" instance on a self-hosted environment. I have created multiple companies in the instance and assigned 2 users as "IT Ops Managers" with admin rights and rights to check-in and checkout assets. When the user I created "eko.excel" logs into SnipeIT and tries to check out an asset in the user dropdown list no user is shown other than "eko.excel". Hence no asset can be checked out. At the same time if I assign the Super Admin role then I see no issues and everything works just fine.
There are no logs generated or errors shown in the debug mode.
Reproduction steps
- Enable "Full Multiple Companies Support".
- Create users
- Create a group with admin access and rights to check-in and check-out assets.
- Assign newly created users to this group.
- Login with the new user with Admin rights.
- Try to check out an asset.
- Select status "assigned"
- Click on the dropdown to select user.
- No User except the "self" is seen in the list. ...
Expected behavior
An Admin user should have been able to check out the assets.
Screenshots
Snipe-IT Version
Version v6.1.1 - build 10847 (master)
Operating System
Ubuntu
Web Server
Apache
PHP Version
7.4
Operating System
macOS
Browser
Chrome
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No error message
Additional context
No response
If they are a regular user, they will only have access to the company they belong to. This is expected behavior. Only super admins can change company info, assign things across companies, etc.
Hi,
I understand this, and at the same time, I understand why Admin was not able to see users in the same company because normal users were not assigned to that company. When I assign 1 user to a specific company in which the admin is it works fine and the "admin" can see the user. However, it brings me to another issue.
I have 65k + active users in this installation and synched from the Active directory and it's very dynamic. I can assign company to users who are already synched in SnipeIT to respective one but I don't know how to Auto assign the new users getting synced from AD., As there is no field in LDAP setting where we can pull this information from Active directory
Any idea?
regards
Hi there - I know this is a pretty old issue, but I wanted to check and see if you ever got this resolved? If so, can you please close the ticket? If not, can you update us on what version of Snipe-IT you're currently using, so we can see if it's still an issue on latest?
:) Thanks!
Hi there - We haven't heard back in a bit, so I'm going to close this ticket for now, but will re-open it if you're still having issues.
