-
Notifications
You must be signed in to change notification settings - Fork 344
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
Display secure parameters when role has proper perms #7688
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7688 +/- ##
============================================
- Coverage 29.78% 29.78% -0.01%
Complexity 98 98
============================================
Files 802 802
Lines 85789 85797 +8
Branches 952 952
============================================
+ Hits 25550 25551 +1
- Misses 58099 58107 +8
+ Partials 2140 2139 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…trol into secure-params-fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix conditional for secure parameters * add change * handle v5 functionality
Currently when role based permissions are enabled and a user has the
PARAMETERS-SECURE:READ
permissions they are still unable to view a secure parameter's value.This PR fixes that and user's can view the secure value when they have permission.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Run Traffic Ops with
role_based_permissions
enabledWill need to have a non admin role with
PARAMETERS-SECURE:READ
permissions and a Parameter with secure set to trueShould be able to view the value with the non-admin role when using 4.0 and should see hidden value when using 3.0 and value should be hidden when the role does not have the
PARAMETERS-SECURE:READ
permissionIf this is a bugfix, which Traffic Control versions contained the bug?
I'm not sure?
PR submission checklist