Skip to content

API permission tweaks - #12886

Merged
SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:permission-fix
Sep 19, 2026
Merged

SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:permission-fix

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Sep 19, 2026 •

Copy link
Copy Markdown
Member
  • Explicitly require admin role for MachineSettingList
  • Permission check for barcode generation
  • Reported by @d3do-23

- Explicitly require admin role for MachineSettingList
- Permission check for barcode generation
@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Sep 19, 2026
@SchrodingersGat SchrodingersGat added api Relates to the API security Relates to a security issue labels Sep 19, 2026
@netlify

netlify Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 354223a
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aae315b1331010009c52dd8

@codecov

codecov Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.30%. Comparing base (2f9064a) to head (354223a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12886      +/-   ##
==========================================
+ Coverage   87.25%   87.30%   +0.05%     
==========================================
  Files        1502     1501       -1     
  Lines      102474   102344     -130     
  Branches    11577    11596      +19     
==========================================
- Hits        89414    89353      -61     
+ Misses      12995    12927      -68     
+ Partials       65       64       -1     
Flag Coverage Δ
backend 91.92% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 92.56% <100.00%> (-0.01%) ⬇️
Backend General 94.78% <ø> (ø)
Frontend 79.81% <ø> (+0.10%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 2845a59 into inventree:master Sep 19, 2026
48 checks passed
@SchrodingersGat
SchrodingersGat deleted the permission-fix branch September 19, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API security Relates to a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant