added getpolicy function to info section in privilege_table
authorTony Mack <tmack@cs.princeton.edu>
Mon, 9 Feb 2009 21:51:25 +0000 (21:51 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 9 Feb 2009 21:51:25 +0000 (21:51 +0000)
geni/util/rights.py

index c2af9dc..3265232 100644 (file)
@@ -21,7 +21,7 @@ privilege_table = {"authority": ["*"],
                    "embed": ["getticket", "redeemslice", "createslice", "deleteslice", "updateslice", "getsliceresources"],
                    "bind": ["getticket", "loanresources"],
                    "control": ["updateslice", "createslice", "stopslice", "startslice", "deleteslice", "resetslice", "getsliceresources"],
-                   "info": ["listslices", "listnodes"],
+                   "info": ["listslices", "listnodes", "getpolicy"],
                    "ma": ["*"]}
 
 ##