Bug 1192203

Summary: We shouldn't treat users being in the wrong org as an error when they try to navigate the UI
Product: Red Hat Satellite Reporter: Matt Reid <mreid>
Component: WebUIAssignee: Eric Helms <ehelms>
WebUI sub component: Foreman QA Contact: Tazim Kolhar <tkolhar>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: bbuckingham, cwelton, jhutar, jmontleo, rjerrido, sthirugn, tkolhar
Version: 6.0.6Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/8387
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:25:30 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:
Attachments:
Description Flags
403 - Permission Denied none

Description Matt Reid 2015-02-12 20:59:15 UTC
Description of problem:
I see this message a lot when I poke around Satellite. 

"403 - Permission Denied

Please choose an organization using the selector located at the far left of the menu."

I'm logged in as the admin, do I really not have permissions to view what I tried to click on? The message doesn't seem entirely accurate.

If there's really nothing useful we can show when this triggers, could we replace this generic sounding error message (that makes it sound like you did something wrong) with a message that simply tells them to pick a specific Org and embeds the org picker where they can choose one right there, without having to go up to the org picker and fiddling with it?

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

Comment 1 Matt Reid 2015-02-12 20:59:52 UTC
Created attachment 991146 [details]
403 - Permission Denied

Comment 2 RHEL Program Management 2015-02-12 21:03:21 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Brad Buckingham 2015-02-20 13:40:50 UTC
Eric, Assigning to you as I believe you were recently working on some improvements to this area.

Comment 5 Eric Helms 2015-02-25 23:44:57 UTC
Connecting redmine issue http://projects.theforeman.org/issues/8387 from this bug

Comment 6 Eric Helms 2015-02-25 23:45:34 UTC
See https://github.com/Katello/katello/pull/4847

Comment 9 Tazim Kolhar 2015-03-04 12:28:59 UTC
VERIFIED:
# rpm -qa | grep foreman
foreman-1.7.2.8-1.el6_6sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.2-1.el6_6sat.noarch
foreman-compute-1.7.2.8-1.el6_6sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.2-1.el6_6sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el6_6sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.1-1.el6_6sat.noarch
foreman-proxy-1.7.2.3-1.el6_6sat.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-client-1.0-1.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-client-1.0-1.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el6_6sat.noarch
foreman-vmware-1.7.2.8-1.el6_6sat.noarch
foreman-libvirt-1.7.2.8-1.el6_6sat.noarch
ruby193-rubygem-foreman_abrt-0.0.5-2.el6_6sat.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-1.0-2.noarch
rubygem-hammer_cli_foreman-0.1.4.6-1.el6_6sat.noarch
foreman-selinux-1.7.2.8-1.el6_6sat.noarch
foreman-debug-1.7.2.8-1.el6_6sat.noarch
foreman-gce-1.7.2.8-1.el6_6sat.noarch
ruby193-rubygem-foreman-redhat_access-0.0.8-2.el6_6sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.5-1.el6_6sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el6_6sat.noarch
foreman-postgresql-1.7.2.8-1.el6_6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el6_6sat.noarch
foreman-ovirt-1.7.2.8-1.el6_6sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.8-1.el6_6sat.noarch

Comment 10 Eric Helms 2015-03-09 13:36:19 UTC
*** Bug 1191912 has been marked as a duplicate of this bug. ***

Comment 11 Bryan Kearney 2015-04-17 21:20:34 UTC
*** Bug 1154370 has been marked as a duplicate of this bug. ***

Comment 12 Bryan Kearney 2015-08-11 13:36:02 UTC
This bug is slated to be released with Satellite 6.1.

Comment 13 errata-xmlrpc 2015-08-12 05:25:30 UTC
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://access.redhat.com/errata/RHSA-2015:1592