Bug 1199915
Summary: | User unable to login if it has only access to "VM Access rule" in product feature tree | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Aziza Karol <akarol> | ||||
Component: | UI - OPS | Assignee: | Dávid Halász <dhalasz> | ||||
Status: | CLOSED ERRATA | QA Contact: | Aziza Karol <akarol> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.4.0 | CC: | hkataria, jhardy, mpovolny, obarenbo | ||||
Target Milestone: | GA | ||||||
Target Release: | 5.4.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-06-16 12:52:02 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: |
|
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/062bfac52f60922a013970d706adc20940775bb0 commit 062bfac52f60922a013970d706adc20940775bb0 Author: Dávid Halász <dhalasz> AuthorDate: Wed Mar 18 11:29:47 2015 +0100 Commit: Dávid Halász <dhalasz> CommitDate: Wed Mar 18 11:29:47 2015 +0100 Display login error message when an authorized startpage isn't available https://bugzilla.redhat.com/show_bug.cgi?id=1199915 vmdb/app/services/user_validation_service.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Flash message "The user's role is not authorized for any access, please contact the administrator!" displayed. Verified: 5.4.0.0.22.20150420163946_26004d1 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://rhn.redhat.com/errata/RHBA-2015-1100.html |
Created attachment 999461 [details] err Description of problem: Version-Release number of selected component (if applicable): 5.4.0.0.10.20150218155857_33bdc17 How reproducible: 100% Steps to Reproduce: 1.create a role having access to only "VM Access rule"(infrastructure->virtual machine) in product feature tree. 2.create a group using the above role 3.create user with the above created group 4.Try to login with the new user Actual results: "The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved." is displayed in UI. see attached screenshot Expected results: should be able to login Additional info: production.log: [----] W, [2015-03-09T03:24:12.280311 #2286:4dfea4] WARN -- : WARNING: Can't verify CSRF token authenticity [----] I, [2015-03-09T03:24:12.444116 #2286:4dfea4] INFO -- : Completed 200 OK in 163.9ms (Views: 0.9ms | ActiveRecord: 15.3ms) [----] I, [2015-03-09T03:24:12.764975 #2286:4dfea4] INFO -- : Started GET "/dashboard/authenticate" for 127.0.0.1 at 2015-03-09 03:24:12 -0400 [----] F, [2015-03-09T03:24:12.767612 #2286:4dfea4] FATAL -- : ActionController::RoutingError (No route matches [GET] "/dashboard/authenticate"): /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/logger.rb:32:in `call_app' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/logger.rb:18:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/static.rb:63:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/engine.rb:484:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/application.rb:231:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/log_tailer.rb:17:in `call' thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process' thin (1.3.1) lib/thin/connection.rb:78:in `catch' thin (1.3.1) lib/thin/connection.rb:78:in `pre_process' thin (1.3.1) lib/thin/connection.rb:53:in `process' thin (1.3.1) lib/thin/connection.rb:38:in `receive_data' eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine' eventmachine (1.0.7) lib/eventmachine.rb:187:in `run' thin (1.3.1) lib/thin/backends/base.rb:61:in `start' thin (1.3.1) lib/thin/server.rb:159:in `start' rack (1.4.5) lib/rack/handler/thin.rb:13:in `run' rack (1.4.5) lib/rack/server.rb:268:in `start' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands/server.rb:70:in `start' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:55:in `block in <top (required)>' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:50:in `tap' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:50:in `<top (required)>' script/rails:6:in `require' script/rails:6:in `<main>'