Files
InvenTree/src
4683838b1d [bug] Require only 'view' permission to read model metadata (#13348) (#13350)
ContentTypePermission works out 'view' for safe methods and 'change'
otherwise, but its fallback for models without check_permission()
(e.g. Part, StockItem) still passed a hardcoded 'change'. Reading
metadata via the generic metadata endpoint therefore required 'change'
permission, unlike the model's own detail endpoint, which needs 'view'.


(cherry picked from commit 3744e74671)

Co-authored-by: Leon Kiesgen <44964878+LeonKie@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:46:28 +11:00
..