Uh oh!
There was an error while loading. Please reload this page.
server: simplify role change validation - #9173
Conversation
Fixesapache#9015 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
shwstppr
commented
Jun 5, 2024
@blueorangutan package |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.19 #9173 +/- ##
=========================================
Coverage 15.12% 15.12% - Complexity 11255 11261 +6
=========================================
Files 5408 5408 Lines 473838 473844 +6 Branches 57770 57774 +4 =========================================
+ Hits 71676 71687 +11 + Misses 394165 394157 -8 - Partials 7997 8000 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
blueorangutan
commented
Jun 5, 2024
@shwstppr 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. |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
blueorangutan
commented
Jun 5, 2024
Packaging result [SF]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 9789 |
shwstppr
commented
Jun 5, 2024
@blueorangutan package |
blueorangutan
commented
Jun 5, 2024
@shwstppr 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. |
blueorangutan
commented
Jun 5, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9790 |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: dahn <daan.hoogland@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
DaanHoogland
commented
Jun 6, 2024
@blueorangutan test |
blueorangutan
commented
Jun 6, 2024
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 6, 2024
[SF] Trillian test result (tid-10374)
|
shwstppr
commented
Jun 13, 2024
@DaanHoogland@rohityadavcloud
|
DaanHoogland
commented
Jun 13, 2024
Thanks @shwstppr
I would expect a Domain Admin to promote a user up to their own level.
well, that mean they can make other users read only. I am not sure if this is desired. |
shwstppr
commented
Jun 13, 2024
I feel this shouldn't be allowed. It should be done by account with higher privileges, ROOT admin here. We can change if others agree on the same.
No, they won't be able to. Check is based on the RoleType (https://github.com/apache/cloudstack/blob/4.19/api/src/main/java/org/apache/cloudstack/acl/RoleType.java#L30-L34). So, they won't be able to do anything even if API allows unless we add a new RoleType in the code. |
shwstppr
commented
Jul 22, 2024
@blueorangutan package |
blueorangutan
commented
Jul 22, 2024
@shwstppr 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. |
blueorangutan
commented
Jul 22, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10430 |
blueorangutan
commented
Sep 18, 2024
@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. |
blueorangutan
commented
Sep 18, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11144 |
DaanHoogland
commented
Sep 18, 2024
@blueorangutan test |
blueorangutan
commented
Sep 18, 2024
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Sep 19, 2024
[SF] Trillian test result (tid-11512)
|
DaanHoogland
commented
Nov 8, 2024
@shwstppr , do we still have functional doubts on the current state of the code? (or can we postpone further discussion to a next issue/PR) |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
shwstppr
commented
Dec 4, 2024
@DaanHoogland I think this is okay from my side but will need some testing. @blueorangutan package |
blueorangutan
commented
Dec 4, 2024
@shwstppr 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. |
DaanHoogland
commented
Dec 4, 2024
thanks @shwstppr , on the list ;) |
blueorangutan
commented
Dec 4, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11705 |
DaanHoogland
commented
Dec 4, 2024
@blueorangutan test keepEnv |
blueorangutan
commented
Dec 4, 2024
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Dec 5, 2024
[SF] Trillian test result (tid-11844)
|
DaanHoogland
commented
Dec 14, 2024
tested with a user-, user+, domadmin- and domadmin+ role to see wich was possible. |
* 4.20: VR: apply iptables rules when add/remove static routes (#10064) Certificate and VM hostname validation improvements (#10051) set ulimit for server according to redhat spec (#10040) kvm-storage: provide isVMMigrate information to storage plugins (#10093) Allow config drive deletion of migrated VM, on host maintenance (#10045) linstor: improve heartbeat check with also asking linstor (#10105) server: simplify role change validation (#9173) UI: create VPC network offering with conserve mode (#10082) server: fix typo removeaccessvpn in VirtualRouterElement (#10086) UI: remove duplicated Instance Name in Public IP details page (#10087) UI: Fixes in the Usage UI (#10000) SAML2: add cookie with HttpOnly too #10013 (#10047) ui: Allow font-awesome icon usage and optimise icon size inconsistency (#9744)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: dahn <daan.hoogland@gmail.com>
Description
Fixes#9015
Simplifies role change checks with the following conditions:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?