Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180923

Filtering Based on User Privilege Level doesn't work for object navigator extension point

$
0
0

Hi,

I'm developing a plugin for vSphere html client(build number 6.5.0.20000).  I want to add a entry in the global object navigator, and limit the access to vCenter user who has privilege Global.Licenses(just for example here). Sample plug-in.xml below. I login with vCenter administrator which has all privileges, but when access it,  H5 client shows "You have no privileges to view this object or it does not exist.". It works if i remove the privilege metadata. This issue blocks the implementation of privilege control for the extension. Is it a H5 client defect? It would be appreciated if you can shade some light on this asap, tks.

<extensionid="entryPoint">
<extendedPoint>vise.navigator.nodespecs</extendedPoint>
<object>
<title>test</title>
<parentUid>vsphere.core.navigator.solutionsCategory</parentUid>
<navigationTargetUid>home</navigationTargetUid>
<viewOpenedUponFocusclassName="com.vmware.ui.objectnavigator.views.CategoryNodeTreeView"/>
</object>
</extension>
 
<extensionid="home">
<extendedPoint>vise.global.views</extendedPoint>
<object>
<name>test</name>
<componentClassclassName="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/test/index.html?view=home</url>
</root>
</object>
</componentClass>
</object>
<metadata>
      <privilege>Global.Licenses</privilege>
</metadata>
</extension>

Viewing all articles
Browse latest Browse all 180923

Trending Articles