We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9491cc9 + 85ada20 commit 6704d48Copy full SHA for 6704d48
app/helpers/application_helper/button/embedded_workflow.rb
@@ -0,0 +1,7 @@
1
+class ApplicationHelper::Button::EmbeddedWorkflow < ApplicationHelper::Button::Basic
2
+ def disabled?
3
+ if Rbac.filtered(ManageIQ::Providers::Workflows::AutomationManager.all).empty?
4
+ @error_message = _("User isn't allowed to use the Embedded Workflows provider.")
5
+ end
6
7
+end
0 commit comments