Not sure if this is a bug, or just an oversight in the current permissions / roles system.
A user without permission to view stock locations (ie, not assigned to a group with the stock locations role), can still see the stock locations of individual stock items, both in the stock items list (/stock/
) and in the individual stock items' pages (/stock/item/xx/
).
See screenshot. I've had to remove part of the stock location, because it contains an address.
Create a new user, and assign it to a new group with Stock Item view permission but uncheck all permissions related to Stock Location.
I would expect the stock location information to be hidden everywhere, for users without that role.
InvenTree-Version: 0.8.1
Django Version: 3.2.15
Commit Hash: fb97385
Commit Date: 2022-08-08
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too