Skip to content

Permissions fix for metadata endpoints - #13213

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:metadata-fix
Nov 7, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:metadata-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Metadata API endpoints now observe the user permissions associated with the underlying models

Metadata API endpoints now observe the user permissions associated with the underlying models
@SchrodingersGat SchrodingersGat added this to the 1.8.0 milestone Nov 6, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API security Relates to a security issue backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch labels Nov 6, 2026
@netlify

netlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 533f36f
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aee69a65994f5f412d115ab

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.63014% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.01%. Comparing base (f283aa0) to head (533f36f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13213      +/-   ##
==========================================
+ Coverage   87.00%   87.01%   +0.01%     
==========================================
  Files        1568     1568              
  Lines      111515   111588      +73     
  Branches    12231    12231              
==========================================
+ Hits        97021    97097      +76     
+ Misses      14428    14425       -3     
  Partials       66       66              
Flag Coverage Δ
backend 91.38% <98.63%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.89% <98.57%> (+<0.01%) ⬆️
Backend General 94.96% <98.52%> (+0.02%) ⬆️
Frontend 79.60% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 0cb1852 into inventree:master Nov 7, 2026
53 checks passed
@SchrodingersGat
SchrodingersGat deleted the metadata-fix branch November 7, 2026 01:21
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.7.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Nov 7, 2026
Metadata API endpoints now observe the user permissions associated with the underlying models

(cherry picked from commit 0cb1852)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch bug Identifies a bug which needs to be addressed security Relates to a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant