Skip to content

UI: don’t continue with session with an expired userid - #13969

Open
DaanHoogland wants to merge 1 commit into
apache:4.20from
shapeblue:rejectsExpiredSession
Open

UI: don’t continue with session with an expired userid#13969
DaanHoogland wants to merge 1 commit into
apache:4.20from
shapeblue:rejectsExpiredSession

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

Description

This PR fixes a representational issue where a member of the root admin account would think they had now become user “admin” after their cookies would expire. Any action they would take would still be accounted to their own userid as can be shown by events.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@prashanthr2 please have a look.

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@blueorangutan ui

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.33%. Comparing base (6136ac9) to head (ee9b987).

Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #13969   +/-   ##
=========================================
  Coverage     16.32%   16.33%           
- Complexity    13556    13559    +3     
=========================================
  Files          5669     5669           
  Lines        501399   501402    +3     
  Branches      60902    60902           
=========================================
+ Hits          81847    81883   +36     
+ Misses       410390   410351   -39     
- Partials       9162     9168    +6     
Flag Coverage Δ
uitests 4.14% <ø> (-0.01%) ⬇️
unittests 17.18% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DaanHoogland DaanHoogland added this to the 4.20.4 milestone Aug 25, 2026
@vishesh92

Copy link
Copy Markdown
Member

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@vishesh92 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/13969 (QA-JID-981)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants