Bug 1171342
Summary: | vm-restricted is no longer used by restricted users | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dave Johnson <dajohnso> |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
Status: | CLOSED ERRATA | QA Contact: | Ramesh A <rananda> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2.0 | CC: | dclarizi, jocarter, jprause, mfeifer, rananda, snansi |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.3.3 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.3.3 | Doc Type: | Bug Fix |
Doc Text: |
In the previous version of Cloudforms Management Engine, users belonging to roles restricting them to virtual machines and templates that they owned had full access to all virtual machines and templates being managed by the appliance. This was due to the virtual machine browser loading an incorrect view. This bug was fixed by changing the virtual machine explorer code to load the correct view. Restricted users can only see their own virtual machines in the new version of Cloudforms Management Engine.
|
Story Points: | --- |
Clone Of: | 1166328 | Environment: | |
Last Closed: | 2015-02-25 16:11:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1166328 | ||
Bug Blocks: |
Comment 3
CFME Bot
2015-01-07 00:26:00 UTC
New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ca4a48289c9a7b7fd531dd98745be45c4e9a2cc5 commit ca4a48289c9a7b7fd531dd98745be45c4e9a2cc5 Author: Harpreet Kataria <hkataria> AuthorDate: Tue Jan 6 11:05:02 2015 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Jan 6 18:30:15 2015 -0500 Load Vm__restricted.yaml for restricted users in VM explorers. Fixed code to load Vm__restricted.yaml in VM explorers for restricted users. Moved code out to a new method that sets the yaml filename and added a spec test around the new method. After loading VM__restricted yaml, need to replace view.db to the one that came in with get_db_view method call, view.db in the YAML is set to Vm which causes all Infra/Cloud VMs to show up together in the explorers. https://bugzilla.redhat.com/show_bug.cgi?id=1171342 https://bugzilla.redhat.com/show_bug.cgi?id=1166328 (cherry picked from commit 8e9da64) vmdb/app/controllers/application_controller.rb | 28 ++++++++++++---------- .../controllers/application_controller_spec.rb | 24 +++++++++++++++++++ 2 files changed, 39 insertions(+), 13 deletions(-) New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=30be9000e0fc4f8efa96d6bc487631358cd35fad commit 30be9000e0fc4f8efa96d6bc487631358cd35fad Author: Harpreet Kataria <hkataria> AuthorDate: Wed Jan 7 09:56:51 2015 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Jan 7 09:56:51 2015 -0500 Fixed failing spec test on 5.3.z Replaced call to EvmSpecHelper.seed_specific_product_features on 5.3.z with MiqProductFeature.seed_specific_features https://bugzilla.redhat.com/show_bug.cgi?id=1171342 https://bugzilla.redhat.com/show_bug.cgi?id=1166328 vmdb/spec/controllers/application_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Good to go. Verified and working fine in 5.3.3.0.1.20150127115148_446974b Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0261.html |