Added default run_as user test to the run_as example.

pull/7/head
Ferry Boender 9 years ago
parent 03f655b6e6
commit c23368154e
  1. 13
      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": [
]
}
]
}

Loading…
Cancel
Save