diff --git a/etc/sahara/policy.json b/etc/sahara/policy.json index e3d2d308..789dafc6 100644 --- a/etc/sahara/policy.json +++ b/etc/sahara/policy.json @@ -25,6 +25,7 @@ "data-processing:plugins:get": "", "data-processing:plugins:get_version": "", "data-processing:plugins:convert_config": "", + "data-processing:plugins:patch": "role:admin", "data-processing:images:get_all": "", "data-processing:images:get": "", diff --git a/sahara/plugins/opts.py b/sahara/plugins/opts.py index 01ce02b1..af08ff16 100644 --- a/sahara/plugins/opts.py +++ b/sahara/plugins/opts.py @@ -17,7 +17,7 @@ from oslo_config import cfg opts = [ cfg.ListOpt('plugins', - default=['vanilla', 'spark', 'cdh', 'ambari'], + default=['vanilla', 'spark', 'cdh', 'ambari', 'storm', 'mapr'], help='List of plugins to be loaded. Sahara preserves the ' 'order of the list when returning it.'), ]