Hi,
You are correct, in order to see the VQL of your derived views, you will need to grant the ‘Metadata’, ‘Execute’ and ‘Write’ Privileges to the derived view. You will also need to grant ‘Metadata’, ‘Execute’ to the underlying base views. More information about this privilege can be found in the Virtual DataPort Administration Guide section on [Write Privilege](https://community.denodo.com/docs/html/browse/latest/vdp/administration/databases_users_and_access_rights_in_virtual_dataport/user_and_access_right_in_virtual_dataport/user_and_access_right_in_virtual_dataport#write-privilege).
Hope this helps!