Red Hat Bugzilla – Bug 829794
Trying to access many top-level menu items as a user w/ no rights throws ISEs rather than permission denied.
Last modified: 2014-09-18 11:31:34 EDT
Description of problem: When a user with no rights attempts to access certain menu items (i.e., perhaps by a bookmark) that said user does not have rights to, ISEs are thrown. User should be getting permission denied messages, or at very least, it should handle the situation gracefully. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Login as admin. Copy/bookmark the URL for any of the main top-level menu items -- Content Management, Systems, Organizations, etc. 2. Create a user, "norights" which has no associated roles. 3. Logout and log back in with user norights. 4. Paste in your URL or visit bookmark, to try and access some of those pages. Actual results: 500 Internal Server Error Sorry about that! It seems something went wrong. If you continue having trouble with this, please contact an Administrator. You might want to log out and log back in again to clear your cookies. Error: undefined method `allowed_organizations' for nil:NilClass Expected results: Situation is handled gracefully - no ISEs. Additional info:
Katello 049d74c361: As a user with no assigned roles I can access only systems. All other pages I tried (directly through URL) are 403 - Permission Denied. So I think it is fixed. What page exactly was 500?
Maybe this got fixed with the UI redesign. It no longer occurs. User no longer gets ISEs. CloudForms System Engine Version: 1.1.12-7.el6cf
closing, currentrelease since these seemingly got missed in the 1.0.1 errata