1 Create DashboardOnly Role
For the Customers we are creating a role that has can only see dashboards that are shared with the Customer group.
These instructions are compiled using vROPS 6.1
1.1 Create the Role
Let’s create the role.
- Login as Admin
- Go to Administration and the on Access control
- Click on Roles
- Create a new Role (green plus) and give it the name DashboardOnly
- Click ok and then select the newly created role
- Click on the pencil that is next to permissions to edit the roles permission
- Select only the following rights:
|
The Views Management Items are ONLY required if your Dashboards contain Views.
2 Group, Users and Objects
After we created the role we need to create a group assign users to it (if it is a local group) and then assign this group to the DeashboardOnly role as well as make sure the users can only see the objects he or she should see.
You can either import an AD group or create a local group. The local group is created in VROPS only and has the advantage that I can pick and choose what users I want it there without having to create extra AD group for it, however it also means that you have to administer users and groups in AD as well as in vROPS.
2.1 Import AD group
To import a AD group follow these steps:
- Click on Import Group
- Select a search string and click on Search
- Select the group you like to import
- Click on Next and continue with the section Assign Role and Objects
2.2 Create local Group
To create a local group follow these steps:
- Click on Add
- Give the group a name
- Click on Next
- Now you can select the members that your local group should contain. These could be local user accounts or imported accounts.
- Now continue with the section Assign Role and Objects
2.3 Assign Role and Objects
Independent weather if you imported or create a group we continue to assign now objects to this group.
- Use the pulldown menu to select the DashboardOnly group
- And then tick the box Assign this role to the group
- Now either select a custom Group that contains all the objects for the Dashboards or chose the Objects using the Infrastructure library.
- Select the Object or Group you want to use
- Ticking the Propagation box will select all descendants of this object.
- Click on Finish
3 Remove default Dashboards
Now that we created the needed Groups and assigned them the role and the Objects we can now assign them the dashboards. We are also need to take away the default ones.
3.1 Remove Share
First of all we need to remove the standard shared dashboards.
- Go to Content | Dashboards
- From the Gear Icon pulldown menu select Share Dashboards
- Select all Dashboards and then select Stop Sharing
- Select all the dashboards again and this time drag them onto your Administrator group
3.2 Assign the Customer Dashboards
We now need to assign the Dashboards the Users should see to the new Group.
- Go to Content | Dashboards
- From the Gear Icon pulldown menu select Share Dashboards
- Select all the dashboards you want the customer to use and drag them onto the new group
- The new group should now be showing the dashboards
3.3 Remove the 3 default dashboards
The 3 dashboards (Recommendations, Diagnose and Self Health) cannot be unshared that easy. To remove them we need to delete a file on the vROPS nodes. Please note that this works only for users that have NOT been logged on before. This solution works only for new user that have not been logged in yet.
- Login to the vROPS node as root
- Delete (or better move) the following file. (Rename doesn’t seam to work)
/usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/dashboards/ootb/All.json