snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

User search working on any location

Open grga911 opened this issue 3 years ago • 1 comments

Debug mode

Describe the bug

When opening users tab on any location and typing something in search, all users appear in users view (with that search term). I tested this on demo app also. Only works if logged in user has user view permission. It shows all users regardless of company.

Reproduction steps

  1. Login into Snipe-IT (as user that has permission to view other users)
  2. Open any location
  3. Start typing anything into search bar
  4. All users start appearing (from all companies)

Expected behavior

Only users that are assigned to location should appear when searching

Screenshots

image

image

Snipe-IT Version

6.2.1

Operating System

Debian 11

Web Server

Apache 2.4.56

PHP Version

8.0.30

Operating System

Windows 10

Browser

Google Chrome

Version

118.0.5993.120

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

grga911 avatar Nov 03 '23 13:11 grga911

👋 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.

welcome[bot] avatar Nov 03 '23 13:11 welcome[bot]