Reply to Message

View discussion in a popup

Replying to:
Denis_Chorbadzh
VMware Employee
VMware Employee

Hi Michael,

 

Yes, you can check the logged in user's privileges -  we have demonstrated how to do this in our remote plugin sample:

/samples/remote-plugin-sample/src/main/java/com/vmware/sample/remote/vim25/services/AuthorizationService.java

In 7.0 U1 we have introduced the notion of Dynamic Extensions which enable you to show/hide (enable/disable) certain UI extensions based on a condition. We have also demonstrated this in our latest changes to the remote plugin sample:

/samples/remote-plugin-sample/src/main/java/com/vmware/sample/remote/controllers/DynamicItemsController.java

You can read more in the official documentation.

Have in mind that this is not supported in 6.7 U3.

For previous versions, you can just show an information to the user that the view is not available.

 

Let us know if you have any questions.

 

Best Regards,

Denis

View solution in original post