snipe-it
snipe-it copied to clipboard
Accessory List Selection Fails for non-Admins
Expected Behavior (or desired behavior if a feature request)
Users who are members of a group that grants permission to view Categories and create accessories should be able to view a list of categories in the selection list of the 'Create Accessory' screen.
Actual Behavior
Non-SuperAdmin users who attempt to create or edit accessories are unable to view any categories and instead see "The results could not be loaded". Dev tools console shows "403 Forbidden" on the selectList item.
Please confirm you have done the following before posting your bug report:
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Provide answers to these questions:
- Is this a fresh install or an upgrade? Upgrade from v3
- Version of Snipe-IT you're running: v4.1.4 build 173
- Version of MySQL/MariaDB you're running: MariaDB Ver 15.1 Distrib 5.5.52
- What OS and web server you're running Snipe-IT on : CentOS/Apache
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): php upgrade
- Any errors that appear in your browser's error console: 403 Forbidden when accessing using a non-admin account
- Include what you've done so far in the installation, and if you got any error messages along the way - Created a new group from scratch with read permissions on everything. Tried different browsers and using private tabs / clearing cache.