Disable Custom Attributes View in VM View


#1

Hi Everyone,

We store some data in Custom Attributes of VM which we would like to hide it from the customers
For all the version before 4.5 it was easy and we commented out the below line in this file
/var/www/miq/vmdb/app/views/vm_common/_main.html.haml

/= render :partial => “shared/summary/textual”, :locals => {:title => _(“Custom Attributes”), :items => textual_group_miq_custom_attributes}

Once we did the above it would not show the custom attributes in the VM view
Now in 4.5 we dont have this file and dont know how to disable the custom attributes in the VM view

Can someone please help on this

Regards
Irshad


#2

Anyhelp here anyone ?? @fdupont @pemcg


#3

I created a bugzilla [1] on that topic a few weeks ago. I guess it’s a low hanging fruit, but I don’t know how it has been prioritized.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1450969


#4

Thank you so much fabien