From aa07b39562d61f64ce0e6a806ed450810018c824 Mon Sep 17 00:00:00 2001 From: Madhu Kanoor Date: Mon, 24 Jul 2017 12:23:34 -0400 Subject: [PATCH] Changed to use MiqExpression.tables --- app/models/miq_ae_method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/miq_ae_method.rb b/app/models/miq_ae_method.rb index d7de9154fcc..961af040c40 100644 --- a/app/models/miq_ae_method.rb +++ b/app/models/miq_ae_method.rb @@ -34,7 +34,7 @@ def self.available_scopes end def self.available_expression_objects - Rbac::Filterer::CLASSES_THAT_PARTICIPATE_IN_RBAC + MiqExpression.base_tables end # Validate the syntax of the passed in inline ruby code