From c23368154ef67225462e2e61cffed33b72731247 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Sat, 25 Jul 2015 18:57:27 +0200 Subject: [PATCH] Added default run_as user test to the run_as example. --- examples/run_as/run_as.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/run_as/run_as.json b/examples/run_as/run_as.json index 048fde1..55a8abe 100644 --- a/examples/run_as/run_as.json +++ b/examples/run_as/run_as.json @@ -2,14 +2,23 @@ "title": "Run as", "forms": [ { - "name": "run_as", - "title": "Run as...", + "name": "run_as_man", + "title": "Run as user 'man' (if we're root)", "description": "", "submit_title": "Run", "run_as": "man", "script": "/tmp/test/job_run_as.py", "fields": [ ] + }, + { + "name": "run_as_nobody", + "title": "Run as default user ('nobody if we're root)", + "description": "", + "submit_title": "Run", + "script": "/tmp/test/job_run_as.py", + "fields": [ + ] } ] }