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

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Feb 24 12:26:05 CET 2011


Author: dietmar
Date: 2011-02-24 12:26:05 +0100 (Thu, 24 Feb 2011)
New Revision: 5610

Modified:
   pve-access-control/trunk/PVE/API2/Domains.pm
   pve-access-control/trunk/PVE/API2/Group.pm
   pve-access-control/trunk/PVE/API2/Role.pm
   pve-access-control/trunk/PVE/API2/User.pm
Log:
fix create path


Modified: pve-access-control/trunk/PVE/API2/Domains.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/Domains.pm	2011-02-24 08:57:26 UTC (rev 5609)
+++ pve-access-control/trunk/PVE/API2/Domains.pm	2011-02-24 11:26:05 UTC (rev 5610)
@@ -58,7 +58,7 @@
 __PACKAGE__->register_method ({
     name => 'create', 
     protected => 1,
-    path => '{realm}', 
+    path => '', 
     method => 'POST',
     description => "Add an authentication server.",
     parameters => {

Modified: pve-access-control/trunk/PVE/API2/Group.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/Group.pm	2011-02-24 08:57:26 UTC (rev 5609)
+++ pve-access-control/trunk/PVE/API2/Group.pm	2011-02-24 11:26:05 UTC (rev 5610)
@@ -66,7 +66,7 @@
 __PACKAGE__->register_method ({
     name => 'create_group', 
     protected => 1,
-    path => '{groupid}', 
+    path => '', 
     method => 'POST',
     description => "Create new group.",
     parameters => {

Modified: pve-access-control/trunk/PVE/API2/Role.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/Role.pm	2011-02-24 08:57:26 UTC (rev 5609)
+++ pve-access-control/trunk/PVE/API2/Role.pm	2011-02-24 11:26:05 UTC (rev 5610)
@@ -50,7 +50,7 @@
 __PACKAGE__->register_method ({
     name => 'create_role', 
     protected => 1,
-    path => '{roleid}', 
+    path => '', 
     method => 'POST',
     description => "Create new role.",
     parameters => {

Modified: pve-access-control/trunk/PVE/API2/User.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/User.pm	2011-02-24 08:57:26 UTC (rev 5609)
+++ pve-access-control/trunk/PVE/API2/User.pm	2011-02-24 11:26:05 UTC (rev 5610)
@@ -71,7 +71,7 @@
 __PACKAGE__->register_method ({
     name => 'create_user', 
     protected => 1,
-    path => '{userid}', 
+    path => '', 
     method => 'POST',
     description => "Create new user.",
     parameters => {




More information about the pve-devel mailing list