Skip to content

Check if user is active when checking token - #13148

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:active-user-token
Nov 1, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:active-user-token

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

When checking validity of user token, ensure the user is active too

@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Nov 1, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.6.x labels Nov 1, 2026
@netlify

netlify Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

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

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

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.88%. Comparing base (c1cd45f) to head (e6e8c99).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #13148    +/-   ##
========================================
  Coverage   86.88%   86.88%            
========================================
  Files        1562     1562            
  Lines      110541   110671   +130     
  Branches    12119    12119            
========================================
+ Hits        96047    96162   +115     
- Misses      14427    14442    +15     
  Partials       67       67            
Flag Coverage Δ
backend 91.22% <100.00%> (+0.02%) ⬆️

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

Components Coverage Δ
Backend Apps 92.72% <100.00%> (-0.04%) ⬇️
Backend General 94.51% <ø> (-0.27%) ⬇️
Frontend 79.58% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat SchrodingersGat removed backport Apply this label to a PR to enable auto-backport action backport-to-1.6.x labels Nov 1, 2026
@SchrodingersGat
SchrodingersGat merged commit 04c1a73 into inventree:master Nov 1, 2026
48 checks passed
@SchrodingersGat
SchrodingersGat deleted the active-user-token branch November 1, 2026 20:06
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants