Permalink
Browse files

Improved tree for permissions.

  • Loading branch information...
1 parent d9bb16e commit f81ee6f3ae402bac59803ea6ab65a922c0bbf044 @Licenser Licenser committed Jun 30, 2012
Showing with 20 additions and 10 deletions.
  1. +20 −10 apps/wiggle/priv/js/snarl.js
@@ -34,10 +34,12 @@ var debug;
var group_group = {
"users": {
"add":{
- "UUID": true
+ "UUID": true,
+ "_": true
},
"delete":{
- "UUID": true
+ "UUID": true,
+ "_": true
}
},
"delete": true,
@@ -49,18 +51,21 @@ var debug;
var group = {
"add": true,
"get": {
- "Name": true
+ "Name": true,
+ "_": true
},
"UUID": group_group,
"_": group_group
}
var user_user = {
"groups": {
"add":{
- "UUID": true
+ "UUID": true,
+ "_": true
},
"delete":{
- "UUID": true
+ "UUID": true,
+ "_": true
}
},
"delete": true,
@@ -73,7 +78,8 @@ var debug;
"add": true,
"passwd": true,
"get": {
- "Name": true
+ "Name": true,
+ "_": true
},
"UUID": user_user,
"_": user_user
@@ -91,13 +97,16 @@ var debug;
var option_cat = {
"list": true,
"delete": {
- "Name": true
+ "Name": true,
+ "_": true
},
"get": {
- "Name": true
+ "Name": true,
+ "_": true
},
"set": {
- "Name": true
+ "Name": true,
+ "_": true
}
};
var option = {
@@ -136,7 +145,8 @@ var debug;
"get": true,
"next_ip": true,
"release_ip": {
- "IP": true
+ "IP": true,
+ "_": true
}
};
var network = {

0 comments on commit f81ee6f

Please sign in to comment.