Skip to content

[bug] API permission fixes: - #12766

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:gfk-bug
Sep 2, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:gfk-bug

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • User can only change their own profile
  • Users can only access notes against models they are scoped to
  • Users can only access parameters against models they are scoped to

- User can only change their own profile
- Users can only access notes against models they are scoped to
- Users can only access parameters against models they are scoped to
@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Sep 2, 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.5.x labels Sep 2, 2026
@netlify

netlify Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

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

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

@SchrodingersGat

Copy link
Copy Markdown
Member Author

@matmair another one for review

@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.42105% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.06%. Comparing base (f9f9f74) to head (c97d998).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12766      +/-   ##
==========================================
- Coverage   87.08%   87.06%   -0.02%     
==========================================
  Files        1483     1480       -3     
  Lines      100213    99750     -463     
  Branches    11609    11376     -233     
==========================================
- Hits        87270    86848     -422     
+ Misses      12878    12836      -42     
- Partials       65       66       +1     
Flag Coverage Δ
backend 91.13% <98.42%> (+0.03%) ⬆️

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

Components Coverage Δ
Backend Apps 92.30% <98.39%> (-0.08%) ⬇️
Backend General 93.95% <98.23%> (-0.57%) ⬇️
Frontend 79.65% <ø> (-0.11%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 4024075 into inventree:master Sep 2, 2026
42 checks passed
@SchrodingersGat
SchrodingersGat deleted the gfk-bug branch September 2, 2026 22:27
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
❌ 1.5.x Backport failed because of merge conflicts

You might need to backport the following PRs to 1.5.x:
- Fix permissions for SelectionList (#12763)

Manual backport

To create the backport manually run:

backport --pr 12766

Questions ?

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

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.5.x 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.

2 participants