Bug 1445163

Summary: The 'Assigned Filters' setting in the Settings->Access Control->Groups->[group name] only applies to 'Hosts & Clusters', and not the Network providers.
Product: Red Hat CloudForms Management Engine Reporter: Neha Chugh <nchugh>
Component: ApplianceAssignee: Libor Pichler <lpichler>
Status: CLOSED CURRENTRELEASE QA Contact: Ruslana Babyuk <rbabyuk>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, alsilva, dclarizi, hkataria, jhardy, lpichler, ltsai, mpovolny, myoder, nchugh, obarenbo, rbabyuk, simaishi
Target Milestone: GAKeywords: Reopened, TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: Linux   
Whiteboard: sdn:rbac:filter
Fixed In Version: 5.9.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1463422 1465093 (view as bug list) Environment:
Last Closed: 2018-03-06 14:46:06 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:    
Bug Blocks: 1463422, 1465093    

Description Neha Chugh 2017-04-25 07:28:24 UTC
Description of problem:

The 'Assigned Filters' setting in the Settings->Access Control->Groups->[group name] only applies to 'Hosts & Clusters', and not the Network providers.

Version-Release number of selected component (if applicable):


How reproducible:
5.7.0

Steps to Reproduce:
1. Navigate to admin =>  configuration
2. Navigate to Access Control Accordin.
3. Navigate to the custom group and click on edit -> configuration and under Hosts and Cluster tab, 
The 'Assigned Filters' setting in the Settings->Access Control->Groups->[group name] only applies to 'Hosts & Clusters', and not the Network providers.
Through assigned filters, we can selectively display/hide providers in the 'Cloud->Providers' screen for the users in the configured Group.
However, when selecting/unselecting the various 'Network Manager' options, it seems to take no effect on the 'Networks->Providers' screen. 

Actual results:
 
When selecting/unselecting the various 'Network Manager' options, it seems to take no effect on the 'Networks->Providers' screen. 


Expected results:
changes should reflect under Network-> provider

Additional info:

Comment 2 Neha Chugh 2017-05-01 02:50:46 UTC
Dan, Can we have an update on this?

Comment 15 Libor Pichler 2017-06-02 11:08:41 UTC
Thanks Neha,

I can see all mentoined issues.




There are fixes:

https://github.com/ManageIQ/manageiq-ui-classic/pull/1474
https://github.com/ManageIQ/manageiq/pull/15271
https://github.com/ManageIQ/manageiq-ui-classic/pull/1443 (only fine/euwe, not lastest code-base.

Comment 21 CFME Bot 2017-10-02 18:01:33 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5260db0446cde5d21460f5b42eb1d5b0e2d6e2fd

commit 5260db0446cde5d21460f5b42eb1d5b0e2d6e2fd
Author:     lpichler <lpichler>
AuthorDate: Sun Oct 1 21:17:09 2017 +0200
Commit:     lpichler <lpichler>
CommitDate: Sun Oct 1 21:43:26 2017 +0200

    Add test case for cloud networks and network managers
    
    - with enabled belongs to filters
    
    related to BZ
    https://bugzilla.redhat.com/show_bug.cgi?id=1445163

 spec/lib/rbac/filterer_spec.rb | 71 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

Comment 24 Ruslana Babyuk 2017-11-22 08:58:39 UTC
I've been investigating this issue a bit. This is not just networks issue, also can be reproduced with hosts aggregates and tenants.

Working now to cover more items. My suggestion to create a separate issue for actions and cover it in a complex.

Thanks

Comment 25 Ruslana Babyuk 2017-11-22 10:45:01 UTC
Please check https://bugzilla.redhat.com/show_bug.cgi?id=1516229, a general issue for cloud items. Also, I've added subnets there.
Please, let me know if subnets should be fixed in scope of current issue

Thanks