Hi,
I am using vSphere web client SDK 6.5 for vCenter plugin development and working on HTML client.
I want restrict few vCenetr users to access my plugin through web client, so I have used privilege for it.
I have added extension in plugin.xml with following code :
<extension id="com.mycompany.mainView">
<extendedPoint>vise.global.views</extendedPoint>
<object>
<name>MyApp</name>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/mycompany/resources/abc/view/abc.html</url>
</root>
</object>
</componentClass>
</object>
<metadata>
<privilege>mycompany.global.viewBasicInfo</privilege>
</metadata>
This piece of code is working correctly on FLEX client and I am able to access my plugin, however same code on HTML client is showing message which showing that, "You have no privileges to view this object or it does not exist." Even I logged in with Admin user credentials which has all privileges.
Or is there any alternate way available to restrict vCenter user without using privileges?
Please assist.
I frankly don't consider the html5 web client as 'the' client for a production environment. Just my personal experience anyway. I can also confirm that I have problems managing the vSphere permissions among other things with html5. I'm still using Flash client.
I also encountering the same issue, any workaround?
use the flash client..