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: extend role isPublic parameter #7973
Conversation
@blueorangutan package |
@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report
@@ Coverage Diff @@
## main #7973 +/- ##
=============================================
+ Coverage 14.40% 29.53% +15.12%
- Complexity 10109 30855 +20746
=============================================
Files 2748 5100 +2352
Lines 259390 368364 +108974
Branches 40381 56703 +16322
=============================================
+ Hits 37354 108780 +71426
- Misses 217203 244716 +27513
- Partials 4833 14868 +10035
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3579 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7056 |
@blueorangutan test |
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7687)
|
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
Hi guys, any updates? |
@hsato03 sorry meant to test this but got stranded in other stuff. Am I not supposed to see an extra field when creating a role? or updating: |
@DaanHoogland could you check if this is a cache problem? I tested on 4.19.0.0-SNAPSHOT and the editing role form looks like this: |
I'll try again in a pornĤĤĤrivate window |
didn´t use a porn window but tested it in anew lab env and it works; created a privated role and editted it to be public. |
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.
Code LGTM
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build failed: ✖️ |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7587 |
@blueorangutan test keepEnv |
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
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.
CLGTM. create role works fine. didn't test import role.
@@ -23,7 +23,7 @@ export default { | |||
docHelp: 'adminguide/accounts.html#roles', | |||
permission: ['listRoles', 'listRolePermissions'], | |||
columns: ['name', 'type', 'description'], |
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.
IMO, it will be good to have ispublic
in colums.
[SF] Trillian test result (tid-8197)
|
tests all good, merging |
Description
The concept of public roles was introduced in the PR #6960, however this resource was not extended to the UI. Thus, a field was added in the role creation, update and import form that allows you to choose whether the role is public or not.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
I created, imported and updated some roles, then I checked the result of these operations in the database.
isPublic
field checkedisPublic
field uncheckedisPublic
field checkedisPublic
field uncheckedisPublic
field checkedisPublic
field unchecked