[pve-devel] r5583 - pve-access-control/trunk/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Feb 22 11:32:44 CET 2011


Author: dietmar
Date: 2011-02-22 11:32:44 +0100 (Tue, 22 Feb 2011)
New Revision: 5583

Modified:
   pve-access-control/trunk/PVE/API2/Domains.pm
Log:
fix protected attribute


Modified: pve-access-control/trunk/PVE/API2/Domains.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/Domains.pm	2011-02-22 10:28:26 UTC (rev 5582)
+++ pve-access-control/trunk/PVE/API2/Domains.pm	2011-02-22 10:32:44 UTC (rev 5583)
@@ -21,6 +21,7 @@
     path => '', 
     method => 'GET',
     description => "Authentication domain index.",
+    protected => 1,
     parameters => {
 	additionalProperties => 0,
 	properties => {},
@@ -139,10 +140,10 @@
 
 __PACKAGE__->register_method ({
     name => 'update', 
-    protected => 1,
     path => '{realm}', 
     method => 'PUT',
     description => "Update authentication server settings.",
+    protected => 1,
     parameters => {
    	additionalProperties => 0,
 	properties => {
@@ -223,6 +224,7 @@
     path => '{realm}', 
     method => 'GET',
     description => "Get auth server configuration.",
+    protected => 1,
     parameters => {
    	additionalProperties => 0,
 	properties => {
@@ -246,10 +248,10 @@
 
 __PACKAGE__->register_method ({
     name => 'delete', 
-    protected => 1,
     path => '{realm}', 
     method => 'DELETE',
     description => "Delete an authentication server.",
+    protected => 1,
     parameters => {
    	additionalProperties => 0,
 	properties => {




More information about the pve-devel mailing list