diff --git a/app/helpers/application_helper/button/mass_transform_vm_button.rb b/app/helpers/application_helper/button/mass_transform_vm_button.rb index 23a07aea0e9..3d049722416 100644 --- a/app/helpers/application_helper/button/mass_transform_vm_button.rb +++ b/app/helpers/application_helper/button/mass_transform_vm_button.rb @@ -1,6 +1,7 @@ class ApplicationHelper::Button::MassTransformVmButton < ApplicationHelper::Button::Basic def visible? - true + store = Vmdb::PermissionStores.instance + store.can?('vm_transform_mass') end def disabled?