Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
947edbf7
Commit
947edbf7
authored
Feb 06, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add permissions for backup API
parent
daab9d52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
Backup.pm
PVE/API2/Backup.pm
+15
-0
No files found.
PVE/API2/Backup.pm
View file @
947edbf7
...
...
@@ -191,6 +191,9 @@ __PACKAGE__->register_method({
path
=>
'',
method
=>
'
GET
',
description
=>
"
List vzdump backup schedule.
",
permissions
=>
{
check
=>
['
perm
',
'
/
',
['
Sys.Audit
']],
},
parameters
=>
{
additionalProperties
=>
0
,
properties
=>
{},
...
...
@@ -224,6 +227,9 @@ __PACKAGE__->register_method({
method
=>
'
POST
',
protected
=>
1
,
description
=>
"
Create new vzdump backup job.
",
permissions
=>
{
check
=>
['
perm
',
'
/
',
['
Sys.Modify
']],
},
parameters
=>
{
additionalProperties
=>
0
,
properties
=>
PVE::VZDump::
json_config_properties
({
...
...
@@ -266,6 +272,9 @@ __PACKAGE__->register_method({
path
=>
'
{id}
',
method
=>
'
GET
',
description
=>
"
Read vzdump backup job definition.
",
permissions
=>
{
check
=>
['
perm
',
'
/
',
['
Sys.Audit
']],
},
parameters
=>
{
additionalProperties
=>
0
,
properties
=>
{
...
...
@@ -302,6 +311,9 @@ __PACKAGE__->register_method({
path
=>
'
{id}
',
method
=>
'
DELETE
',
description
=>
"
Delete vzdump backup job definition.
",
permissions
=>
{
check
=>
['
perm
',
'
/
',
['
Sys.Modify
']],
},
protected
=>
1
,
parameters
=>
{
additionalProperties
=>
0
,
...
...
@@ -349,6 +361,9 @@ __PACKAGE__->register_method({
method
=>
'
PUT
',
protected
=>
1
,
description
=>
"
Update vzdump backup job definition.
",
permissions
=>
{
check
=>
['
perm
',
'
/
',
['
Sys.Modify
']],
},
parameters
=>
{
additionalProperties
=>
0
,
properties
=>
PVE::VZDump::
json_config_properties
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment