snipe / snipe-it

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

Confirm acceptance of assets - the site also displays locations associated with the same ID #15619

Open Speed1 opened 5 days ago

Speed1 commented 5 days ago

Debug mode

Describe the bug

Hard to explain. I will make an example:

We have enabled the ‘confirm acceptance of assets’ feature, requiring end users to confirm asset receipt via Snipe-IT. When users with ID 46 open the page to accept assets, they also see assets assigned to the location associated with the same ID (46).

Reproduction steps

  1. Assign assets to location ID 46
  2. Enable confirm acceptance of assets feature
  3. Assing another assets to user ID 46
  4. Open the confirmation link that user ID 46 has received
  5. Check assets that can accepted/declined

Expected behavior

User with ID 46 should not see assets associated with location ID 46.

Screenshots

AssetConfirmation

Snipe-IT Version

7.0.12

Operating System

RHEL

Web Server

Apache

PHP Version

8.2.13

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

snipe commented 5 days ago

I think this was fixed in the latest release