Skip to content

Check user permissions before locating stock - #13000

Merged
SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:locate-plugin-fix
Oct 13, 2026
Merged

SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:locate-plugin-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Ensure user has correct permissions before initiating a "locate stock" action via the API

@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Oct 12, 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 Oct 12, 2026
@netlify

netlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

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

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

@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.28%. Comparing base (7e89e93) to head (e6e1b4a).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13000      +/-   ##
==========================================
+ Coverage   87.23%   87.28%   +0.05%     
==========================================
  Files        1515     1515              
  Lines      104373   104360      -13     
  Branches    11823    11760      -63     
==========================================
+ Hits        91048    91093      +45     
+ Misses      13258    13204      -54     
+ Partials       67       63       -4     
Flag Coverage Δ
backend 92.08% <87.50%> (+0.01%) ⬆️

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

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

@SchrodingersGat
SchrodingersGat merged commit 445fa3e into inventree:master Oct 13, 2026
48 checks passed
@SchrodingersGat
SchrodingersGat deleted the locate-plugin-fix branch October 13, 2026 11:59
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.5.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 Oct 13, 2026
* Check user permissions before locating stock

* Update unit test

(cherry picked from commit 445fa3e)

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

1 participant