Check for the extras.run_script permission when running scripts via. the API
This commit is contained in:

committed by
Jeremy Stretch

parent
d7c37d9dd6
commit
fb3d1ef399
@@ -590,6 +590,7 @@ class ScriptTest(APITestCase):
|
||||
|
||||
@skipIf(not rq_worker_running, "RQ worker not running")
|
||||
def test_run_script(self):
|
||||
self.add_permissions('extras.run_script')
|
||||
|
||||
script_data = {
|
||||
'var1': 'FooBar',
|
||||
|
Reference in New Issue
Block a user