Red Hat Bugzilla – Bug 1286627
Web-UI: External menu plugin does not get displayed in the menu options
Last modified: 2016-07-11 08:09:37 EDT
Created attachment 1100478 [details]
no menu plugin
Description of problem:
External menu plugin does not get displayed in the menu options
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. SSH into appliance and navigate to "/var/www/miq/vmdb" using the vmdb command
2. Add the below mentioned files in their following locations.
name: Red Hat
:name: Red Hat
:description: Access to Red Hat sectioin
- :name: Red Hat Forums
:description: Access to Red Hat forums
- :name: Red Hat Whatever
:description: Access to Red Hat whatever...
2. Restart the evmserverd service "service evmserverd restart"
3. Login to the appliance and check for the "Red Hat" link in the menu
Does not display the menu link to the external site. Refer the screenshot "no menu plugin" for further information
Should display the menu link. This was working fine in 22.214.171.124-beta1.3.20151021133253_ed40d96 build. Refer the screenshot "menu plugin working" for further information.
Also tried executed the following command after editing the files and before restarting the evmserverd service, but with no success
RAILS_ENV=production rake assets:clean
RAILS_ENV=production rake assets:precompile
Created attachment 1100479 [details]
menu plugin working
Can you take a look at this one.
Verification failed. Tested in 126.96.36.199-rc2.20160531154046_b4e2f6d.
After adding the necessary file, making changes in db/fixtures/miq_product_roles/redhat_access_user_roles.yml and restarting the evmserverd service, I am still not able to see external menu links in the top navigation. However, I am to access the page if I give the url directly pointing to these links
In upstream appliance there's one more mechanism that can turn off and on menu sections -- PermissionStore.
An an appliance, it is configured via config/permissions.yml
To get a menu section from a plugin displayed, the section feature needs to be added to this file similarly as the Access Insights (see line: - :accessInsights |module Vmdb).