Skip to content

Hide inactive offerings from User type accounts#12865

Open
erikbocks wants to merge 1 commit intoapache:mainfrom
scclouds:change-inactive-offerings-view-normal-user
Open

Hide inactive offerings from User type accounts#12865
erikbocks wants to merge 1 commit intoapache:mainfrom
scclouds:change-inactive-offerings-view-normal-user

Conversation

@erikbocks
Copy link
Collaborator

Description

This PR changes the compute offerings tab behavior to prevent the listing of inactive offerings to User type accounts.

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

Screenshots (if appropriate):

How Has This Been Tested?

Logged in as the ROOT admin, I validated that the compute offerings' listing displayed the filter button, and allowed the listing of Active and Inactive offerings. Then, I logged in with a User type account, and validated that the state filter button was hidden, and only Active offerings were listed.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.02%. Comparing base (b744824) to head (b4bbf30).

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #12865   +/-   ##
=========================================
  Coverage     18.02%   18.02%           
- Complexity    16450    16451    +1     
=========================================
  Files          5968     5968           
  Lines        537086   537088    +2     
  Branches      65961    65961           
=========================================
+ Hits          96819    96820    +1     
- Misses       429347   429348    +1     
  Partials      10920    10920           
Flag Coverage Δ
uitests 3.53% <ø> (-0.01%) ⬇️
unittests 19.19% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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.

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.

1 participant