| Summary: | Failed to list the images(in top level image view) for users | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Rehana <redakkan> | ||||||
| Component: | aeolus-conductor | Assignee: | Angus Thomas <athomas> | ||||||
| Status: | CLOSED EOL | QA Contact: | Rehana <aeolus-qa-list> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.0.0 | CC: | akarol, deltacloud-maint, hbrock, ssachdev, sseago | ||||||
| Target Milestone: | rc | Keywords: | Triaged | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-03-27 17:58:54 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 572769 [details]
top_level_image_list
In src/app/views/images/_list.html.haml, line 13 is enforcing too-strict permissions: - if environment.nil? or check_privilege(Privilege::USE, PoolFamily, environment) PoolFamily USE is what we require for image building/pushing/etc. PoolFamily VIEW should be sufficient for this list, since that's the same permission we enforce at page level to provide access to the image list for an environment/cloud. |
Created attachment 572768 [details] images Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Created two users say UserA with only "global Profile user" and UserB with only 'global provider admin" role 2. Login to conductor with above user details 3. Go to clouds -> image (pfa: top-level_image_list.png) 4. From "cloud" page click on "default" cloud, move to 'images' section (Images.png) Actual results: Observed that all the image from 'default' cloud was listed at step 4 Expected results: So it is expected to show those image list in "Image" section also (this is help to keep the consistency across page) Additional info: rpm -qa | grep aeolus aeolus-conductor-0.8.3-1.el6.noarch aeolus-conductor-daemons-0.8.3-1.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-configure-2.5.2-1.el6.noarch aeolus-all-0.8.3-1.el6.noarch rubygem-aeolus-cli-0.3.1-1.el6.noarch aeolus-conductor-doc-0.8.3-1.el6.noarch