|
|
@ -2,14 +2,23 @@ |
|
|
|
"title": "Run as", |
|
|
|
"title": "Run as", |
|
|
|
"forms": [ |
|
|
|
"forms": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"name": "run_as", |
|
|
|
"name": "run_as_man", |
|
|
|
"title": "Run as...", |
|
|
|
"title": "Run as user 'man' (if we're root)", |
|
|
|
"description": "", |
|
|
|
"description": "", |
|
|
|
"submit_title": "Run", |
|
|
|
"submit_title": "Run", |
|
|
|
"run_as": "man", |
|
|
|
"run_as": "man", |
|
|
|
"script": "/tmp/test/job_run_as.py", |
|
|
|
"script": "/tmp/test/job_run_as.py", |
|
|
|
"fields": [ |
|
|
|
"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": [ |
|
|
|
|
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|