Sitelet https://github.com/inventree/InvenTree/pull/12563
Skip to content

Fix permissions for group and RuleSet endpoints - #12563

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:role-permissions
Aug 8, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:role-permissions

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Require StaffRole in addition to is_staff
  • Ensure that the user has the correct role in addition to being staff user

- Require StaffRole in addition to is_staff
@SchrodingersGat SchrodingersGat added this to the 1.5.0 milestone Aug 7, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API security Relates to a security issue labels Aug 7, 2026
@netlify

netlify Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 0da3ef7
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a766ee4efa6960007cad753

@codecov

codecov Bot commented Aug 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.74%. Comparing base (4a7970b) to head (0da3ef7).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12563   +/-   ##
=======================================
  Coverage   86.74%   86.74%           
=======================================
  Files        1445     1445           
  Lines       96340    96374   +34     
  Branches    11136    11136           
=======================================
+ Hits        83566    83599   +33     
- Misses      12710    12711    +1     
  Partials       64       64           
Flag Coverage Δ
backend 90.76% <100.00%> (+<0.01%) ⬆️

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

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

@SchrodingersGat
SchrodingersGat merged commit 02ee7ca into inventree:master Aug 8, 2026
45 checks passed
@SchrodingersGat
SchrodingersGat deleted the role-permissions branch August 8, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API 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