Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: create network form constantly tries to list domains - which is not permitted for normal users #9348

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Pearl1594
Copy link
Contributor

Description

This PR prevents listing domains for normal users

Before fix:
Screenshot from 2024-07-05 10-30-40

After fix:
image

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?

Copy link
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm

this issue seems to be fixed by #8919 in main branch
but it still exist in 4.19

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.05%. Comparing base (ba85b4d) to head (8471283).

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9348      +/-   ##
============================================
- Coverage     15.05%   15.05%   -0.01%     
+ Complexity    11139    11136       -3     
============================================
  Files          5405     5405              
  Lines        472354   472355       +1     
  Branches      61210    60596     -614     
============================================
- Hits          71129    71119      -10     
- Misses       393302   393316      +14     
+ Partials       7923     7920       -3     
Flag Coverage Δ
uitests 4.27% <ø> (-0.01%) ⬇️
unittests 15.77% <ø> (-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.

@rohityadavcloud rohityadavcloud added this to the 4.19.1.0 milestone Jul 6, 2024
@DaanHoogland DaanHoogland merged commit f35f3f6 into 4.19 Jul 8, 2024
43 of 47 checks passed
@DaanHoogland DaanHoogland deleted the fix-user-network-domains branch July 8, 2024 06:28
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants