Bug 768501

Summary: editing logged in user should display only environments with register systems permission
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 20:55:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tom McKay 2011-12-16 20:34:04 UTC
Unless the logged in user has admin privileges for themselves, the 'Environments' tab of user edit should limit choice of new default env to ones in which the user already has the 'Register Systems in Environment' permissions.

This is more complicated than it first appears: Should unselectable envs be grayed out (currently Locker is not grayed out, even though it is never selectable)? What if an org has no envs that the user has register permission in, should it be included in the org choice selector?

I'm under the opinion that all orgs that the user is registered in, and all envs that each of those orgs has, should be visible. This would facilitate the call to their admin requesting privileges, as well as giving them context of the env progressions (ie. dev -> qa etc.).

Comment 1 Mike McCune 2012-01-26 19:39:27 UTC
mass move to CFSE product.

Comment 2 Partha Aji 2012-02-10 00:14:41 UTC
The fix for bz 783328 should have fixed this also. Look at the rules of engagement section of that bz to verify the behaviour.

Comment 3 Og Maciel 2012-02-24 20:52:56 UTC
Validated:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch