Bug 1193161

Summary: FATAL -- : Error caught: [ActionController::RoutingError] No route matches {:controller=>"dashboard", :action=>"auth_error"}
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: dajohnso, david.costakos, jhardy, jprause, kmorey, mfeifer, obarenbo, sshveta, xlecauch
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.4   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.3.4.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1190293 Environment:
Last Closed: 2015-04-29 13:19:10 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: 1190293    
Bug Blocks:    

Comment 1 CFME Bot 2015-02-16 21:35:44 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9d46eeb16e81e480e85ba468d056fe6626f9fbe3

commit 9d46eeb16e81e480e85ba468d056fe6626f9fbe3
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Feb 16 13:09:32 2015 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Feb 16 13:09:48 2015 -0500

    Added check for VM view access on Service summary screen.
    
    Dont show link to VM summary from Service summary screen if user does not have access to view a VM.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193161
    https://bugzilla.redhat.com/show_bug.cgi?id=1190293

 vmdb/app/controllers/service_controller.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 2 CFME Bot 2015-02-17 14:06:01 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a39af487e8a3a7f58cf9220c05b0138c25f1df61

commit a39af487e8a3a7f58cf9220c05b0138c25f1df61
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Feb 16 13:09:32 2015 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Feb 17 09:03:19 2015 -0500

    Added check for VM view access on Service summary screen.
    
    Dont show link to VM summary from Service summary screen if user does not have access to view a VM.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193161
    https://bugzilla.redhat.com/show_bug.cgi?id=1190293
    (cherry picked from commit 9d46eeb)

 vmdb/app/controllers/service_controller.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 4 Shveta 2015-04-22 17:42:38 UTC
User cannot click on VM if does not have rights.
Verified in 5.3.4.2.20150415125246_f5d5c91

Comment 5 CFME Bot 2015-04-24 20:41:08 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5088b5da64a699ab9c439c4fc88711d2f7c48413

commit 5088b5da64a699ab9c439c4fc88711d2f7c48413
Author:     Aparna Karve <akarve>
AuthorDate: Wed Apr 22 09:35:38 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Wed Apr 22 16:35:59 2015 -0700

    Fixed links for VMs/Instances displayed under Service Summary Screen
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193161

 vmdb/app/controllers/service_controller.rb         |  1 -
 vmdb/app/controllers/vm_infra_controller.rb        |  2 +-
 vmdb/app/helpers/application_helper.rb             | 53 ++++++++++++++++++++++
 vmdb/app/views/layouts/_quadicon.html.erb          |  2 +-
 .../views/layouts/quadicon/_quadicon_text.html.erb | 16 +++++--
 .../layouts/quadicon/_vm_or_template.html.erb      | 14 ++++--
 6 files changed, 77 insertions(+), 11 deletions(-)

Comment 6 CFME Bot 2015-04-24 20:41:13 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=2e04074c02f19f93d2cad10a7a884f541c916eb6

commit 2e04074c02f19f93d2cad10a7a884f541c916eb6
Merge: 50dc19f 5088b5d
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Apr 24 16:39:40 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Apr 24 16:39:40 2015 -0400

    Merge branch 'bz1193161_disable_enable_vm_links' into '5.3.z'
    
    Fixed links for VMs/Instances displayed under Service Summary Screen
    
    The links for VMs or Instances that are displayed under Service Summary Screen have to be disabled/enabled based on what features the user has access to.
    For e.g. if the user is not entitled to view VMs, then the link that would redirect to VM Summary screen (from Service Summary screen) should not be available to the user.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193161
    
    See merge request !35

 vmdb/app/controllers/service_controller.rb         |  1 -
 vmdb/app/controllers/vm_infra_controller.rb        |  2 +-
 vmdb/app/helpers/application_helper.rb             | 53 ++++++++++++++++++++++
 vmdb/app/views/layouts/_quadicon.html.erb          |  2 +-
 .../views/layouts/quadicon/_quadicon_text.html.erb | 16 +++++--
 .../layouts/quadicon/_vm_or_template.html.erb      | 14 ++++--
 6 files changed, 77 insertions(+), 11 deletions(-)

Comment 8 errata-xmlrpc 2015-04-29 13:19:10 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://rhn.redhat.com/errata/RHBA-2015-0890.html