squall 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.rbenv-version +1 -0
- data/.rspec +1 -1
- data/.rvmrc +41 -1
- data/.travis.yml +13 -3
- data/README.md +122 -27
- data/Rakefile +5 -34
- data/lib/squall/data_store_zone.rb +58 -0
- data/lib/squall/firewall_rule.rb +66 -0
- data/lib/squall/hypervisor.rb +63 -11
- data/lib/squall/hypervisor_zone.rb +135 -0
- data/lib/squall/ip_address.rb +50 -3
- data/lib/squall/ip_address_join.rb +46 -0
- data/lib/squall/network.rb +21 -4
- data/lib/squall/network_zone.rb +73 -0
- data/lib/squall/payment.rb +59 -0
- data/lib/squall/role.rb +28 -11
- data/lib/squall/statistic.rb +3 -3
- data/lib/squall/{base.rb → support/base.rb} +8 -4
- data/lib/squall/{config.rb → support/config.rb} +4 -0
- data/lib/squall/{exception.rb → support/exception.rb} +0 -0
- data/lib/squall/{params.rb → support/params.rb} +0 -0
- data/lib/squall/support/version.rb +3 -0
- data/lib/squall/support/yaml.rb +5 -0
- data/lib/squall/template.rb +4 -0
- data/lib/squall/transaction.rb +4 -0
- data/lib/squall/user.rb +126 -30
- data/lib/squall/user_group.rb +56 -0
- data/lib/squall/virtual_machine.rb +176 -52
- data/lib/squall/whitelist.rb +74 -0
- data/lib/squall.rb +21 -12
- data/spec/spec_helper.rb +21 -16
- data/spec/squall/data_store_zone_spec.rb +97 -0
- data/spec/squall/firewall_rule_spec.rb +112 -0
- data/spec/squall/hypervisor_spec.rb +101 -48
- data/spec/squall/hypervisor_zone_spec.rb +190 -0
- data/spec/squall/ip_address_join_spec.rb +67 -0
- data/spec/squall/ip_address_spec.rb +68 -6
- data/spec/squall/network_spec.rb +0 -1
- data/spec/squall/network_zone_spec.rb +147 -0
- data/spec/squall/payment_spec.rb +98 -0
- data/spec/squall/role_spec.rb +31 -46
- data/spec/squall/statistic_spec.rb +7 -9
- data/spec/squall/{base_spec.rb → support/base_spec.rb} +5 -7
- data/spec/squall/{config_spec.rb → support/config_spec.rb} +0 -0
- data/spec/{params_spec.rb → squall/support/params_spec.rb} +0 -0
- data/spec/squall/template_spec.rb +0 -1
- data/spec/squall/transaction_spec.rb +0 -1
- data/spec/squall/user_group_spec.rb +74 -0
- data/spec/squall/user_spec.rb +142 -59
- data/spec/squall/virtual_machine_spec.rb +179 -67
- data/spec/squall/whitelist_spec.rb +113 -0
- data/spec/squall_spec.rb +4 -8
- data/spec/vcr_cassettes/data_store_zone/create.yml +40 -0
- data/spec/vcr_cassettes/data_store_zone/delete.yml +77 -0
- data/spec/vcr_cassettes/data_store_zone/edit.yml +77 -0
- data/spec/vcr_cassettes/data_store_zone/list.yml +40 -0
- data/spec/vcr_cassettes/data_store_zone/show.yml +77 -0
- data/spec/vcr_cassettes/firewall_rule/create.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/delete.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/edit.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/list.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/add_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/add_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/create.yml +7 -44
- data/spec/vcr_cassettes/hypervisor/data_store_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/delete.yml +11 -11
- data/spec/vcr_cassettes/hypervisor/edit.yml +7 -46
- data/spec/vcr_cassettes/hypervisor/list.yml +7 -7
- data/spec/vcr_cassettes/hypervisor/network_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/reboot.yml +13 -13
- data/spec/vcr_cassettes/hypervisor/remove_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/remove_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/show.yml +13 -13
- data/spec/vcr_cassettes/hypervisor_zones/add_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/add_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/create.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/data_store_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/delete.yml +77 -0
- data/spec/vcr_cassettes/hypervisor_zones/edit.yml +77 -0
- data/spec/vcr_cassettes/hypervisor_zones/hypervisors.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/list.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/network_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/remove_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/remove_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/show.yml +77 -0
- data/spec/vcr_cassettes/ipaddress/create.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/delete.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/edit.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/list.yml +17 -17
- data/spec/vcr_cassettes/ipaddress_join/assign.yml +77 -0
- data/spec/vcr_cassettes/ipaddress_join/delete.yml +77 -0
- data/spec/vcr_cassettes/ipaddress_join/list.yml +77 -0
- data/spec/vcr_cassettes/network/create.yml +15 -15
- data/spec/vcr_cassettes/network/delete.yml +6 -6
- data/spec/vcr_cassettes/network/edit.yml +18 -18
- data/spec/vcr_cassettes/network/list.yml +3 -3
- data/spec/vcr_cassettes/network_zones/attach.yml +114 -0
- data/spec/vcr_cassettes/network_zones/create.yml +40 -0
- data/spec/vcr_cassettes/network_zones/delete.yml +77 -0
- data/spec/vcr_cassettes/network_zones/detach.yml +114 -0
- data/spec/vcr_cassettes/network_zones/edit.yml +77 -0
- data/spec/vcr_cassettes/network_zones/list.yml +40 -0
- data/spec/vcr_cassettes/network_zones/show.yml +77 -0
- data/spec/vcr_cassettes/payment/create.yml +78 -0
- data/spec/vcr_cassettes/payment/delete.yml +77 -0
- data/spec/vcr_cassettes/payment/edit.yml +77 -0
- data/spec/vcr_cassettes/payment/list.yml +41 -0
- data/spec/vcr_cassettes/role/create.yml +7 -44
- data/spec/vcr_cassettes/role/delete.yml +6 -6
- data/spec/vcr_cassettes/role/edit.yml +13 -75
- data/spec/vcr_cassettes/role/list.yml +7 -7
- data/spec/vcr_cassettes/role/permissions.yml +7 -7
- data/spec/vcr_cassettes/role/show.yml +13 -13
- data/spec/vcr_cassettes/statistic/usage_statistics.yml +7 -7
- data/spec/vcr_cassettes/template/list.yml +3 -3
- data/spec/vcr_cassettes/template/make_public.yml +6 -6
- data/spec/vcr_cassettes/transaction/list.yml +3 -3
- data/spec/vcr_cassettes/transaction/show.yml +6 -6
- data/spec/vcr_cassettes/user/activate.yml +7 -7
- data/spec/vcr_cassettes/user/create.yml +7 -83
- data/spec/vcr_cassettes/user/data_store_zones.yml +79 -0
- data/spec/vcr_cassettes/user/delete.yml +11 -11
- data/spec/vcr_cassettes/user/edit.yml +40 -0
- data/spec/vcr_cassettes/user/edit_role.yml +9 -9
- data/spec/vcr_cassettes/user/generate_api_key.yml +7 -7
- data/spec/vcr_cassettes/user/hypervisors.yml +77 -0
- data/spec/vcr_cassettes/user/limits.yml +77 -0
- data/spec/vcr_cassettes/user/list.yml +8 -8
- data/spec/vcr_cassettes/user/monthly_bills.yml +40 -0
- data/spec/vcr_cassettes/user/network_zones.yml +79 -0
- data/spec/vcr_cassettes/user/show.yml +29 -29
- data/spec/vcr_cassettes/user/stats.yml +6 -6
- data/spec/vcr_cassettes/user/suspend.yml +7 -7
- data/spec/vcr_cassettes/user/virtual_machines.yml +18 -20
- data/spec/vcr_cassettes/user_group/create.yml +40 -0
- data/spec/vcr_cassettes/user_group/delete.yml +77 -0
- data/spec/vcr_cassettes/user_group/edit.yml +77 -0
- data/spec/vcr_cassettes/user_group/list.yml +40 -0
- data/spec/vcr_cassettes/virtual_machine/build.yml +7 -7
- data/spec/vcr_cassettes/virtual_machine/change_owner.yml +8 -8
- data/spec/vcr_cassettes/virtual_machine/change_password.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/console.yml +63 -0
- data/spec/vcr_cassettes/virtual_machine/create.yml +9 -11
- data/spec/vcr_cassettes/virtual_machine/delete.yml +11 -11
- data/spec/vcr_cassettes/virtual_machine/edit.yml +16 -18
- data/spec/vcr_cassettes/virtual_machine/list.yml +3 -3
- data/spec/vcr_cassettes/virtual_machine/migrate.yml +22 -24
- data/spec/vcr_cassettes/virtual_machine/reboot.yml +22 -22
- data/spec/vcr_cassettes/virtual_machine/resize.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/segregate.yml +114 -0
- data/spec/vcr_cassettes/virtual_machine/set_ssh_keys.yml +77 -0
- data/spec/vcr_cassettes/virtual_machine/set_vip.yml +77 -0
- data/spec/vcr_cassettes/virtual_machine/show.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/shutdown.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/startup.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/stats.yml +63 -0
- data/spec/vcr_cassettes/virtual_machine/stop.yml +22 -22
- data/spec/vcr_cassettes/virtual_machine/suspend.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/unlock.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/unsuspend.yml +6 -6
- data/spec/vcr_cassettes/whitelist/create.yml +77 -0
- data/spec/vcr_cassettes/whitelist/delete.yml +77 -0
- data/spec/vcr_cassettes/whitelist/edit.yml +77 -0
- data/spec/vcr_cassettes/whitelist/list.yml +40 -0
- data/spec/vcr_cassettes/whitelist/show.yml +77 -0
- data/squall.gemspec +3 -2
- metadata +247 -131
- data/Gemfile.lock +0 -100
- data/lib/squall/version.rb +0 -3
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/roles/404.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 404
|
@@ -21,31 +21,31 @@
|
|
21
21
|
content-type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
date:
|
24
|
-
- Thu,
|
24
|
+
- Thu, 09 Feb 2012 18:26:30 GMT
|
25
25
|
server:
|
26
26
|
- Apache/2.2.3 (CentOS)
|
27
27
|
x-runtime:
|
28
|
-
- "0.
|
28
|
+
- "0.024600"
|
29
29
|
set-cookie:
|
30
|
-
-
|
30
|
+
- <REDACTED>
|
31
31
|
cache-control:
|
32
32
|
- no-cache
|
33
33
|
status:
|
34
34
|
- "404"
|
35
35
|
transfer-encoding:
|
36
36
|
- chunked
|
37
|
-
body: "{\"
|
37
|
+
body: "{\"errors\":[\"Resource not found\"]}"
|
38
38
|
http_version: "1.1"
|
39
39
|
- !ruby/struct:VCR::HTTPInteraction
|
40
40
|
request: !ruby/struct:VCR::Request
|
41
41
|
method: :get
|
42
|
-
uri: http
|
42
|
+
uri: http://<USER>:<PASS>@<URL>:80/roles/1.json
|
43
43
|
body:
|
44
44
|
headers:
|
45
45
|
content-type:
|
46
46
|
- application/json
|
47
47
|
authorization:
|
48
|
-
- Basic
|
48
|
+
- Basic <REDACTED>
|
49
49
|
response: !ruby/struct:VCR::Response
|
50
50
|
status: !ruby/struct:VCR::ResponseStatus
|
51
51
|
code: 200
|
@@ -54,24 +54,24 @@
|
|
54
54
|
x-ua-compatible:
|
55
55
|
- IE=Edge,chrome=1
|
56
56
|
etag:
|
57
|
-
- "\"
|
57
|
+
- "\"6b6c3c7a4c9222c032c6b33178114f58\""
|
58
58
|
x-powered-by:
|
59
59
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.1
|
60
60
|
content-type:
|
61
61
|
- application/json; charset=utf-8
|
62
62
|
x-runtime:
|
63
|
-
- "0.
|
63
|
+
- "0.413515"
|
64
64
|
server:
|
65
65
|
- Apache/2.2.3 (CentOS)
|
66
66
|
date:
|
67
|
-
- Thu,
|
67
|
+
- Thu, 09 Feb 2012 18:26:31 GMT
|
68
68
|
set-cookie:
|
69
|
-
-
|
69
|
+
- <REDACTED>
|
70
70
|
status:
|
71
71
|
- "200"
|
72
72
|
cache-control:
|
73
73
|
- max-age=0, private, must-revalidate
|
74
74
|
transfer-encoding:
|
75
75
|
- chunked
|
76
|
-
body: "{\"role\":{\"label\":\"Administrator\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":1,\"permissions\":[{\"permission\":{\"label\":\"Any action on virtual machines\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":1,\"identifier\":\"virtual_machines\"}},{\"permission\":{\"label\":\"Any action on users\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":11,\"identifier\":\"users\"}},{\"permission\":{\"label\":\"Any action on hypervisors\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":19,\"identifier\":\"hypervisors\"}},{\"permission\":{\"label\":\"Any action on disks\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":24,\"identifier\":\"disks\"}},{\"permission\":{\"label\":\"Any action on templates\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":32,\"identifier\":\"templates\"}},{\"permission\":{\"label\":\"Any action on backups\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":44,\"identifier\":\"backups\"}},{\"permission\":{\"label\":\"Any action on data_stores\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":55,\"identifier\":\"data_stores\"}},{\"permission\":{\"label\":\"Any action on permissions\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":60,\"identifier\":\"permissions\"}},{\"permission\":{\"label\":\"Any action on networks\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":65,\"identifier\":\"networks\"}},{\"permission\":{\"label\":\"Any action on ip addresses\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":70,\"identifier\":\"ip_addresses\"}},{\"permission\":{\"label\":\"Any action on nameservers\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":75,\"identifier\":\"nameservers\"}},{\"permission\":{\"label\":\"Any action on transactions\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":82,\"identifier\":\"transactions\"}},{\"permission\":{\"label\":\"Any action on resource limit\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":85,\"identifier\":\"resource_limits\"}},{\"permission\":{\"label\":\"Create a new resource limit\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":87,\"identifier\":\"resource_limits.create\"}},{\"permission\":{\"label\":\"Destroy any resource limit\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":89,\"identifier\":\"resource_limits.delete\"}},{\"permission\":{\"label\":\"See all resource limits\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":86,\"identifier\":\"resource_limits.read\"}},{\"permission\":{\"label\":\"Update any resource limit\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":88,\"identifier\":\"resource_limits.update\"}},{\"permission\":{\"label\":\"Unlock any virtual machine\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":90,\"identifier\":\"virtual_machines.unlock\"}},{\"permission\":{\"label\":\"Any action on Roles\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":91,\"identifier\":\"roles\"}},{\"permission\":{\"label\":\"Any action on groups\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":96,\"identifier\":\"groups\"}},{\"permission\":{\"label\":\"Any action on payments\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":101,\"identifier\":\"payments\"}},{\"permission\":{\"label\":\"Any action on Settings\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":107,\"identifier\":\"settings\"}},{\"permission\":{\"label\":\"See Alerts\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":110,\"identifier\":\"dashboard.alerts\"}},{\"permission\":{\"label\":\"Any action Sysuser Tools\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":111,\"identifier\":\"sysuser_tools.read\"}},{\"permission\":{\"label\":\"Send Support requests\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":113,\"identifier\":\"help.read\"}},{\"permission\":{\"label\":\"Full access to Statistics\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":116,\"identifier\":\"vm_stats\"}},{\"permission\":{\"label\":\"See All Statistics\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":117,\"identifier\":\"io_stats\"}},{\"permission\":{\"label\":\"See Global Statistic\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":123,\"identifier\":\"dashboard.global_stats\"}},{\"permission\":{\"label\":\"All actions on Dashboard\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":124,\"identifier\":\"dashboard\"}},{\"permission\":{\"label\":\"All actions on Sysuser Tools\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":125,\"identifier\":\"sysuser_tools\"}},{\"permission\":{\"label\":\"All actions on Help\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":126,\"identifier\":\"help\"}},{\"permission\":{\"label\":\"Any action on schedules\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":127,\"identifier\":\"schedules\"}},{\"permission\":{\"label\":\"Delete all transactions from log\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":135,\"identifier\":\"transactions.delete\"}},{\"permission\":{\"label\":\"Any action on schedule logs\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":137,\"identifier\":\"schedule_logs\"}},{\"permission\":{\"label\":\"Migrate any virtual machine\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":143,\"identifier\":\"virtual_machines.migrate\"}},{\"permission\":{\"label\":\"Reboot any hypervisor\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":145,\"identifier\":\"hypervisors.reboot\"}},{\"permission\":{\"label\":\"All actions on virtual machine's IP addresses\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":146,\"identifier\":\"ip_address_joins\"}},{\"permission\":{\"label\":\"Reset root password to any virtual machine\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":153,\"identifier\":\"virtual_machines.reset_root_password\"}},{\"permission\":{\"label\":\"Unlock any disk\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":155,\"identifier\":\"disks.unlock\"}},{\"permission\":{\"label\":\"Any action on log items\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":156,\"identifier\":\"log_items\"}},{\"permission\":{\"label\":\"Autobackup for any disk\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":163,\"identifier\":\"disks.autobackup\"}},{\"permission\":{\"label\":\"All actions on datastores on Hypervisor\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":165,\"identifier\":\"data_store_joins\"}},{\"permission\":{\"label\":\"Any action on autobackup templates\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":169,\"identifier\":\"autobackup_templates\"}},{\"permission\":{\"label\":\"Update any autobackup template\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":170,\"identifier\":\"autobackup_templates.update\"}},{\"permission\":{\"label\":\"See all autobackup templates\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":171,\"identifier\":\"autobackup_templates.read\"}},{\"permission\":{\"label\":\"Change an owner of any virtual machine\",\"created_at\":\"2011-04-13T14:37:40Z\",\"updated_at\":\"2011-04-13T14:37:40Z\",\"id\":172,\"identifier\":\"virtual_machines.change_owner\"}},{\"permission\":{\"label\":\"Any action on data store zones\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":173,\"identifier\":\"data_store_zones\"}},{\"permission\":{\"label\":\"Any action on network zones\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":179,\"identifier\":\"network_zones\"}},{\"permission\":{\"label\":\"Any action on billing plans\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":185,\"identifier\":\"billing_plans\"}},{\"permission\":{\"label\":\"Any action on resources\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":191,\"identifier\":\"base_resources\"}},{\"permission\":{\"label\":\"User can Login AS any user.\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":197,\"identifier\":\"users.login_as\"}},{\"permission\":{\"label\":\"Any action on isos\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":198,\"identifier\":\"isos\"}},{\"permission\":{\"label\":\"Any action on hypervisor zones\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":211,\"identifier\":\"hypervisor_zones\"}},{\"permission\":{\"label\":\"Any action on mounting ISO\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":217,\"identifier\":\"iso_joins\"}},{\"permission\":{\"label\":\"Change Suspended status for Virtual Machine\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":224,\"identifier\":\"virtual_machines.suspend\"}},{\"permission\":{\"label\":\"Show Hypervisor Zones on VirtualMachine creation\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":225,\"identifier\":\"hypervisor_zones.read_vm_creation\"}},{\"permission\":{\"label\":\"Show Hypervisors on VirtualMachine creation.\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":226,\"identifier\":\"hypervisors.read_vm_creation\"}},{\"permission\":{\"label\":\"See All Statistics\",\"created_at\":\"2011-04-13T14:37:39Z\",\"updated_at\":\"2011-04-13T14:37:39Z\",\"id\":117,\"identifier\":\"io_stats\"}},{\"permission\":{\"label\":\"See all IO Statistics\",\"created_at\":\"2011-04-13T14:37:41Z\",\"updated_at\":\"2011-04-13T14:37:41Z\",\"id\":227,\"identifier\":\"io_stats.read\"}},{\"permission\":{\"label\":\"See All Statistics\",\"created_at\":\"2011-04-13T14:37:45Z\",\"updated_at\":\"2011-04-13T14:37:45Z\",\"id\":231,\"identifier\":\"vm_stats.read\"}},{\"permission\":{\"label\":\"See License Details\",\"created_at\":\"2011-04-13T14:37:45Z\",\"updated_at\":\"2011-04-13T14:37:45Z\",\"id\":232,\"identifier\":\"dashboard.licensing\"}}],\"identifier\":\"user\"}}"
|
76
|
+
body: "{\"role\":{\"label\":\"Administrator\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2012-01-19T15:22:53Z\",\"id\":1,\"permissions\":[{\"permission\":{\"label\":\"Any action on virtual machines\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2010-10-27T10:08:25Z\",\"id\":1,\"identifier\":\"virtual_machines\"}},{\"permission\":{\"label\":\"Any action on users\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":11,\"identifier\":\"users\"}},{\"permission\":{\"label\":\"Any action on hypervisors\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":19,\"identifier\":\"hypervisors\"}},{\"permission\":{\"label\":\"Any action on disks\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":24,\"identifier\":\"disks\"}},{\"permission\":{\"label\":\"Any action on templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":32,\"identifier\":\"templates\"}},{\"permission\":{\"label\":\"Any action on backups\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":44,\"identifier\":\"backups\"}},{\"permission\":{\"label\":\"Any action on data_stores\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":55,\"identifier\":\"data_stores\"}},{\"permission\":{\"label\":\"Any action on permissions\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":60,\"identifier\":\"permissions\"}},{\"permission\":{\"label\":\"Any action on networks\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":65,\"identifier\":\"networks\"}},{\"permission\":{\"label\":\"Any action on ip addresses\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":70,\"identifier\":\"ip_addresses\"}},{\"permission\":{\"label\":\"Any action on nameservers\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":75,\"identifier\":\"nameservers\"}},{\"permission\":{\"label\":\"Any action on transactions\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":82,\"identifier\":\"transactions\"}},{\"permission\":{\"label\":\"Any action on resource limit\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":85,\"identifier\":\"resource_limits\"}},{\"permission\":{\"label\":\"Create a new resource limit\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":87,\"identifier\":\"resource_limits.create\"}},{\"permission\":{\"label\":\"Destroy any resource limit\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":89,\"identifier\":\"resource_limits.delete\"}},{\"permission\":{\"label\":\"See all resource limits\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":86,\"identifier\":\"resource_limits.read\"}},{\"permission\":{\"label\":\"Update any resource limit\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":88,\"identifier\":\"resource_limits.update\"}},{\"permission\":{\"label\":\"Unlock any virtual machine\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":90,\"identifier\":\"virtual_machines.unlock\"}},{\"permission\":{\"label\":\"Any action on Roles\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":91,\"identifier\":\"roles\"}},{\"permission\":{\"label\":\"Any action on groups\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":96,\"identifier\":\"groups\"}},{\"permission\":{\"label\":\"Any action on payments\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":101,\"identifier\":\"payments\"}},{\"permission\":{\"label\":\"Any action on Settings\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":107,\"identifier\":\"settings\"}},{\"permission\":{\"label\":\"See Alerts\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":110,\"identifier\":\"dashboard.alerts\"}},{\"permission\":{\"label\":\"Any action Sysadmin Tools\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":111,\"identifier\":\"sysadmin_tools.read\"}},{\"permission\":{\"label\":\"Send Support requests\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":113,\"identifier\":\"help.read\"}},{\"permission\":{\"label\":\"Full access to Statistics\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":116,\"identifier\":\"vm_stats\"}},{\"permission\":{\"label\":\"See All Statistics\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":117,\"identifier\":\"vm_stats.read\"}},{\"permission\":{\"label\":\"See Global Statistic\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":122,\"identifier\":\"dashboard.global_stats\"}},{\"permission\":{\"label\":\"All actions on Dashboard\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":123,\"identifier\":\"dashboard\"}},{\"permission\":{\"label\":\"All actions on Sysadmin Tools\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":124,\"identifier\":\"sysadmin_tools\"}},{\"permission\":{\"label\":\"All actions on Help\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":125,\"identifier\":\"help\"}},{\"permission\":{\"label\":\"Any action on schedules\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":126,\"identifier\":\"schedules\"}},{\"permission\":{\"label\":\"Delete all transactions from log\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":134,\"identifier\":\"transactions.delete\"}},{\"permission\":{\"label\":\"Any action on schedule logs\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":136,\"identifier\":\"schedule_logs\"}},{\"permission\":{\"label\":\"Migrate any virtual machine\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":142,\"identifier\":\"virtual_machines.migrate\"}},{\"permission\":{\"label\":\"Reboot any hypervisor\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":144,\"identifier\":\"hypervisors.reboot\"}},{\"permission\":{\"label\":\"All actions on virtual machine's IP addresses\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":145,\"identifier\":\"ip_address_joins\"}},{\"permission\":{\"label\":\"Reset root password to any virtual machine\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":152,\"identifier\":\"virtual_machines.reset_root_password\"}},{\"permission\":{\"label\":\"Unlock any disk\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":154,\"identifier\":\"disks.unlock\"}},{\"permission\":{\"label\":\"Any action on log items\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":155,\"identifier\":\"log_items\"}},{\"permission\":{\"label\":\"Autobackup for any disk\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":162,\"identifier\":\"disks.autobackup\"}},{\"permission\":{\"label\":\"All actions on datastores on Hypervisor\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":164,\"identifier\":\"data_store_joins\"}},{\"permission\":{\"label\":\"Any action on autobackup templates\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":168,\"identifier\":\"autobackup_templates\"}},{\"permission\":{\"label\":\"Update any autobackup template\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":169,\"identifier\":\"autobackup_templates.update\"}},{\"permission\":{\"label\":\"See all autobackup templates\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":170,\"identifier\":\"autobackup_templates.read\"}},{\"permission\":{\"label\":\"Change an owner of any virtual machine\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":171,\"identifier\":\"virtual_machines.change_owner\"}},{\"permission\":{\"label\":\"Manage License\",\"created_at\":\"2010-10-27T10:08:40Z\",\"updated_at\":\"2010-10-27T10:08:40Z\",\"id\":172,\"identifier\":\"dashboard.licensing\"}},{\"permission\":{\"label\":\"Make own template public\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":41,\"identifier\":\"templates.make_public.own\"}},{\"permission\":{\"label\":\"Make any template public\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":40,\"identifier\":\"templates.make_public\"}},{\"permission\":{\"label\":\"Create a new template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":35,\"identifier\":\"templates.create\"}},{\"permission\":{\"label\":\"Destroy any template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":38,\"identifier\":\"templates.delete\"}},{\"permission\":{\"label\":\"Destroy own template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":39,\"identifier\":\"templates.delete.own\"}},{\"permission\":{\"label\":\"Manage Own Templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":42,\"identifier\":\"templates.manage.own\"}},{\"permission\":{\"label\":\"Manage Global Templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":43,\"identifier\":\"templates.manage.public\"}},{\"permission\":{\"label\":\"See all templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":33,\"identifier\":\"templates.read\"}},{\"permission\":{\"label\":\"See own templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":34,\"identifier\":\"templates.read.own\"}},{\"permission\":{\"label\":\"See all public templates\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":119,\"identifier\":\"templates.read.public\"}},{\"permission\":{\"label\":\"Update any template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":36,\"identifier\":\"templates.update\"}},{\"permission\":{\"label\":\"Update own template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":37,\"identifier\":\"templates.update.own\"}},{\"permission\":{\"label\":\"Convert any backup to template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":53,\"identifier\":\"backups.convert\"}},{\"permission\":{\"label\":\"Convert own backup to template\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":54,\"identifier\":\"backups.convert.own\"}},{\"permission\":{\"label\":\"Any action on data store zones\",\"created_at\":\"2011-07-20T15:49:03Z\",\"updated_at\":\"2011-07-20T15:49:03Z\",\"id\":173,\"identifier\":\"data_store_zones\"}},{\"permission\":{\"label\":\"Any action on network zones\",\"created_at\":\"2011-07-20T15:49:03Z\",\"updated_at\":\"2011-07-20T15:49:03Z\",\"id\":179,\"identifier\":\"network_zones\"}},{\"permission\":{\"label\":\"Any action on billing plans\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":185,\"identifier\":\"billing_plans\"}},{\"permission\":{\"label\":\"Any action on resources\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":191,\"identifier\":\"base_resources\"}},{\"permission\":{\"label\":\"User can Login AS any user.\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":197,\"identifier\":\"users.login_as\"}},{\"permission\":{\"label\":\"Any action on isos\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":198,\"identifier\":\"isos\"}},{\"permission\":{\"label\":\"Any action on hypervisor zones\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":211,\"identifier\":\"hypervisor_zones\"}},{\"permission\":{\"label\":\"Any action on mounting ISO\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":217,\"identifier\":\"iso_joins\"}},{\"permission\":{\"label\":\"Change Suspended status for Virtual Machine\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":224,\"identifier\":\"virtual_machines.suspend\"}},{\"permission\":{\"label\":\"Show Hypervisor Zones on VirtualMachine creation\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":225,\"identifier\":\"hypervisor_zones.read_vm_creation\"}},{\"permission\":{\"label\":\"Show Hypervisors on VirtualMachine creation.\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":226,\"identifier\":\"hypervisors.read_vm_creation\"}},{\"permission\":{\"label\":\"Full access to IO Statistics\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":227,\"identifier\":\"io_stats\"}},{\"permission\":{\"label\":\"See all IO Statistics\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":228,\"identifier\":\"io_stats.read\"}},{\"permission\":{\"label\":\"Manage internationalization phrases\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":232,\"identifier\":\"i18n.manage\"}},{\"permission\":{\"label\":\"Enable/Disable user\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":234,\"identifier\":\"users.suspend\"}},{\"permission\":{\"label\":\"See all Users prices\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":235,\"identifier\":\"users.read_prices\"}},{\"permission\":{\"label\":\"Any action on user groups\",\"created_at\":\"2011-07-20T16:20:09Z\",\"updated_at\":\"2011-07-20T16:20:09Z\",\"id\":243,\"identifier\":\"user_groups\"}},{\"permission\":{\"label\":\"Any action on template groups\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":249,\"identifier\":\"image_template_groups\"}},{\"permission\":{\"label\":\"Any action with White IP list \",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":255,\"identifier\":\"user_white_lists\"}},{\"permission\":{\"label\":\"Any action on relation group_templates\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":264,\"identifier\":\"relation_group_templates\"}},{\"permission\":{\"label\":\"Manage License\",\"created_at\":\"2010-10-27T10:08:40Z\",\"updated_at\":\"2010-10-27T10:08:40Z\",\"id\":172,\"identifier\":\"dashboard.licensing\"}},{\"permission\":{\"label\":\"Any action with Currencies\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":269,\"identifier\":\"currencies\"}},{\"permission\":{\"label\":\"Any action with Firewall Rules \",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":274,\"identifier\":\"firewall_rules\"}},{\"permission\":{\"label\":\"Generate API key\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":283,\"identifier\":\"users.update_api_key\"}},{\"permission\":{\"label\":\"See the list of inactive templates\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":285,\"identifier\":\"templates.inactive\"}},{\"permission\":{\"label\":\"Any action on Themes\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":286,\"identifier\":\"themes\"}},{\"permission\":{\"label\":\"View OnApp version\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":295,\"identifier\":\"settings.version\"}},{\"permission\":{\"label\":\"See details of CDN usage statistics\",\"created_at\":\"2011-07-20T16:20:15Z\",\"updated_at\":\"2011-12-06T16:40:13Z\",\"id\":296,\"identifier\":\"cdn_usage_stats\"}},{\"permission\":{\"label\":\"Any action on relation load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":299,\"identifier\":\"load_balancing_clusters\"}},{\"permission\":{\"label\":\"Any action on Autoscaling Configuration\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:18Z\",\"id\":307,\"identifier\":\"auto_scalings\"}},{\"permission\":{\"label\":\"Configure Autoscale Out on create\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:18Z\",\"id\":315,\"identifier\":\"load_balancing_clusters.asout\"}},{\"permission\":{\"label\":\"Any action on relation monitis monitors\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":316,\"identifier\":\"monitis_monitors\"}},{\"permission\":{\"label\":\"View monitis monitor information\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":317,\"identifier\":\"monitis_monitors.read\"}},{\"permission\":{\"label\":\"Full access to Mounthly Bills Statistics\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":318,\"identifier\":\"monthly_bills\"}},{\"permission\":{\"label\":\"See all Mounthly Bills Statistics\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":319,\"identifier\":\"monthly_bills.read\"}},{\"permission\":{\"label\":\"Migrate any load balancer\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":358,\"identifier\":\"load_balancers.migrate\"}},{\"permission\":{\"label\":\"Any action on template sets\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":363,\"identifier\":\"template_sets\"}},{\"permission\":{\"label\":\"Any action on CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":328,\"identifier\":\"cdn_resources\"}},{\"permission\":{\"label\":\"Create a new CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":329,\"identifier\":\"cdn_resources.create\"}},{\"permission\":{\"label\":\"Destroy any CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":332,\"identifier\":\"cdn_resources.delete\"}},{\"permission\":{\"label\":\"Destroy own CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":335,\"identifier\":\"cdn_resources.delete.own\"}},{\"permission\":{\"label\":\"See all CDN resources\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":330,\"identifier\":\"cdn_resources.read\"}},{\"permission\":{\"label\":\"See own CDN resources\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":333,\"identifier\":\"cdn_resources.read.own\"}},{\"permission\":{\"label\":\"Update any CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":331,\"identifier\":\"cdn_resources.update\"}},{\"permission\":{\"label\":\"Update own CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":334,\"identifier\":\"cdn_resources.update.own\"}},{\"permission\":{\"label\":\"Any action on edge group\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":323,\"identifier\":\"edge_groups\"}},{\"permission\":{\"label\":\"Create a new edge group\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":325,\"identifier\":\"edge_groups.create\"}},{\"permission\":{\"label\":\"Destroy any edge group\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":327,\"identifier\":\"edge_groups.delete\"}},{\"permission\":{\"label\":\"See all edge groups\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":324,\"identifier\":\"edge_groups.read\"}},{\"permission\":{\"label\":\"Update any edge group\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":326,\"identifier\":\"edge_groups.update\"}},{\"permission\":{\"label\":\"Any action on Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":347,\"identifier\":\"edge_servers\"}},{\"permission\":{\"label\":\"Change an owner of any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":349,\"identifier\":\"edge_servers.change_owner\"}},{\"permission\":{\"label\":\"Console to any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":342,\"identifier\":\"edge_servers.console\"}},{\"permission\":{\"label\":\"Console to own Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":350,\"identifier\":\"edge_servers.console.own\"}},{\"permission\":{\"label\":\"Create a new Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":352,\"identifier\":\"edge_servers.create\"}},{\"permission\":{\"label\":\"Destroy any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":340,\"identifier\":\"edge_servers.delete\"}},{\"permission\":{\"label\":\"Destroy own Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":344,\"identifier\":\"edge_servers.delete.own\"}},{\"permission\":{\"label\":\"Migrate any Edge Server\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":336,\"identifier\":\"edge_servers.migrate\"}},{\"permission\":{\"label\":\"Migrate own Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":351,\"identifier\":\"edge_servers.migrate.own\"}},{\"permission\":{\"label\":\"Any power action on Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":354,\"identifier\":\"edge_servers.power\"}},{\"permission\":{\"label\":\"Any power actions on own Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":353,\"identifier\":\"edge_servers.power.own\"}},{\"permission\":{\"label\":\"See all Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":341,\"identifier\":\"edge_servers.read\"}},{\"permission\":{\"label\":\"See own Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":346,\"identifier\":\"edge_servers.read.own\"}},{\"permission\":{\"label\":\"Rebuild Network on any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":337,\"identifier\":\"edge_servers.rebuild_network\"}},{\"permission\":{\"label\":\"Rebuild Network on own Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":348,\"identifier\":\"edge_servers.rebuild_network.own\"}},{\"permission\":{\"label\":\"Reset root password on any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":338,\"identifier\":\"edge_servers.reset_root_password\"}},{\"permission\":{\"label\":\"Reset root password on own Edge Servers\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":339,\"identifier\":\"edge_servers.reset_root_password.own\"}},{\"permission\":{\"label\":\"Change Suspended status for Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":356,\"identifier\":\"edge_servers.suspend\"}},{\"permission\":{\"label\":\"Unlock any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":343,\"identifier\":\"edge_servers.unlock\"}},{\"permission\":{\"label\":\"Update any Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":355,\"identifier\":\"edge_servers.update\"}},{\"permission\":{\"label\":\"Update own Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":345,\"identifier\":\"edge_servers.update.own\"}},{\"permission\":{\"label\":\"Create a new virtual machine\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2010-10-27T10:08:25Z\",\"id\":4,\"identifier\":\"virtual_machines.create\"}},{\"permission\":{\"label\":\"Create a new user\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":14,\"identifier\":\"users.create\"}},{\"permission\":{\"label\":\"Assign IP address to user\",\"created_at\":\"2011-12-06T16:40:35Z\",\"updated_at\":\"2011-12-06T16:40:35Z\",\"id\":371,\"identifier\":\"ip_addresses.assign\"}},{\"permission\":{\"label\":\"Add ssh keys for all the virtual machines\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":360,\"identifier\":\"ssh_keys.add\"}},{\"permission\":{\"label\":\"Add ssh keys for own virtual machines\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":361,\"identifier\":\"ssh_keys.add.own\"}},{\"permission\":{\"label\":\"Add ssh keys for this virtual machine\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":368,\"identifier\":\"virtual_machines.set_ssh_keys\"}},{\"permission\":{\"label\":\"Create Autoscaling Configuration\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:18Z\",\"id\":308,\"identifier\":\"auto_scalings.create\"}},{\"permission\":{\"label\":\"Read Autoscaling Configuration\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:18Z\",\"id\":310,\"identifier\":\"auto_scalings.read\"}},{\"permission\":{\"label\":\"Create a new billing plan\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":188,\"identifier\":\"billing_plans.create\"}},{\"permission\":{\"label\":\"Add Data Store to any Hypervisor\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":165,\"identifier\":\"data_store_joins.create\"}},{\"permission\":{\"label\":\"Create a new Firewall Rule for any Virtual Machine\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":280,\"identifier\":\"firewall_rules.create\"}},{\"permission\":{\"label\":\"Create a new hypervisor zone\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":214,\"identifier\":\"hypervisor_zones.create\"}},{\"permission\":{\"label\":\"Update any disk\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":28,\"identifier\":\"disks.update\"}},{\"permission\":{\"label\":\"Update own disk\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":29,\"identifier\":\"disks.update.own\"}},{\"permission\":{\"label\":\"Create a new group\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":98,\"identifier\":\"groups.create\"}},{\"permission\":{\"label\":\"See all groups\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":97,\"identifier\":\"groups.read\"}},{\"permission\":{\"label\":\"See list of all hypervisor zones\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":213,\"identifier\":\"hypervisor_zones.list\"}},{\"permission\":{\"label\":\"Create a new hypervisor\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":21,\"identifier\":\"hypervisors.create\"}},{\"permission\":{\"label\":\"See all hypervisors\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":20,\"identifier\":\"hypervisors.read\"}},{\"permission\":{\"label\":\"Create a new template group\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":252,\"identifier\":\"image_template_groups.create\"}},{\"permission\":{\"label\":\"See list of all template groups\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":251,\"identifier\":\"image_template_groups.list\"}},{\"permission\":{\"label\":\"See details of any template group\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":250,\"identifier\":\"image_template_groups.read\"}},{\"permission\":{\"label\":\"Update any template group\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":253,\"identifier\":\"image_template_groups.update\"}},{\"permission\":{\"label\":\"See Own Statistics\",\"created_at\":\"2011-07-21T16:09:20Z\",\"updated_at\":\"2011-07-21T16:09:20Z\",\"id\":322,\"identifier\":\"io_stats.own\"}},{\"permission\":{\"label\":\"Create a new ip address\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":72,\"identifier\":\"ip_addresses.create\"}},{\"permission\":{\"label\":\"See all ip addresses\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":71,\"identifier\":\"ip_addresses.read\"}},{\"permission\":{\"label\":\"Unassign IP address from user\",\"created_at\":\"2011-12-06T16:40:36Z\",\"updated_at\":\"2011-12-06T16:40:36Z\",\"id\":372,\"identifier\":\"ip_addresses.unassign\"}},{\"permission\":{\"label\":\"Mount any ISO\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":220,\"identifier\":\"iso_joins.create\"}},{\"permission\":{\"label\":\"Create a new relation load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":303,\"identifier\":\"load_balancing_clusters.create\"}},{\"permission\":{\"label\":\"See details of any relation load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":300,\"identifier\":\"load_balancing_clusters.read\"}},{\"permission\":{\"label\":\"See details of own load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":304,\"identifier\":\"load_balancing_clusters.read.own\"}},{\"permission\":{\"label\":\"Change any load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":301,\"identifier\":\"load_balancing_clusters.update\"}},{\"permission\":{\"label\":\"Change own load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":305,\"identifier\":\"load_balancing_clusters.update.own\"}},{\"permission\":{\"label\":\"Create a new nameserver\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":77,\"identifier\":\"nameservers.create\"}},{\"permission\":{\"label\":\"See all nameservers\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":76,\"identifier\":\"nameservers.read\"}},{\"permission\":{\"label\":\"See list of all network zones\",\"created_at\":\"2011-07-20T15:49:03Z\",\"updated_at\":\"2011-07-20T15:49:03Z\",\"id\":181,\"identifier\":\"network_zones.list\"}},{\"permission\":{\"label\":\"Create a new network\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":67,\"identifier\":\"networks.create\"}},{\"permission\":{\"label\":\"Update any network\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":68,\"identifier\":\"networks.update\"}},{\"permission\":{\"label\":\"Create a new payment\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":103,\"identifier\":\"payments.create\"}},{\"permission\":{\"label\":\"Create a new Role\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":93,\"identifier\":\"roles.create\"}},{\"permission\":{\"label\":\"Create a new schedule\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":129,\"identifier\":\"schedules.create\"}},{\"permission\":{\"label\":\"Create Themes\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":287,\"identifier\":\"themes.create\"}},{\"permission\":{\"label\":\"See details of all transactions\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":83,\"identifier\":\"transactions.read\"}},{\"permission\":{\"label\":\"See list of all user groups\",\"created_at\":\"2011-07-20T16:20:09Z\",\"updated_at\":\"2011-07-20T16:20:09Z\",\"id\":245,\"identifier\":\"user_groups.list\"}},{\"permission\":{\"label\":\"See User billing plan\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":236,\"identifier\":\"users.read_prices.billing_plan\"}},{\"permission\":{\"label\":\"See User hourly prices\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":239,\"identifier\":\"users.read_prices.hourly_price\"}},{\"permission\":{\"label\":\"See User monthly prices\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":240,\"identifier\":\"users.read_prices.monthly_price\"}},{\"permission\":{\"label\":\"See User outstanding amount\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":237,\"identifier\":\"users.read_prices.outstanding_amount\"}},{\"permission\":{\"label\":\"See User summary payments\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":238,\"identifier\":\"users.read_prices.summary_payments\"}},{\"permission\":{\"label\":\"See User total cost\",\"created_at\":\"2011-07-20T16:31:13Z\",\"updated_at\":\"2011-07-20T16:31:13Z\",\"id\":321,\"identifier\":\"users.read_prices.total_cost\"}},{\"permission\":{\"label\":\"See User Virtual Machine prices\",\"created_at\":\"2011-07-20T16:20:08Z\",\"updated_at\":\"2011-07-20T16:20:08Z\",\"id\":241,\"identifier\":\"users.read_prices.vm_prices\"}},{\"permission\":{\"label\":\"See own users\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":13,\"identifier\":\"users.read.own\"}},{\"permission\":{\"label\":\"Any power action on virtual machines\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":80,\"identifier\":\"virtual_machines.power\"}},{\"permission\":{\"label\":\"Any power action on own virtual machines\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":81,\"identifier\":\"virtual_machines.power.own\"}},{\"permission\":{\"label\":\"See all virtual machines\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2010-10-27T10:08:25Z\",\"id\":2,\"identifier\":\"virtual_machines.read\"}}],\"identifier\":\"admin\"}}"
|
77
77
|
http_version: "1.1"
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/usage_statistics.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 200
|
@@ -17,24 +17,24 @@
|
|
17
17
|
x-ua-compatible:
|
18
18
|
- IE=Edge,chrome=1
|
19
19
|
etag:
|
20
|
-
- "\"
|
20
|
+
- "\"965fdf816e8b7cacc432b9e3e3e6fa5b\""
|
21
21
|
x-powered-by:
|
22
22
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.1
|
23
23
|
content-type:
|
24
24
|
- application/json; charset=utf-8
|
25
25
|
x-runtime:
|
26
|
-
- "0.
|
26
|
+
- "0.153006"
|
27
27
|
server:
|
28
28
|
- Apache/2.2.3 (CentOS)
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Tue, 14 Feb 2012 19:47:27 GMT
|
31
31
|
set-cookie:
|
32
|
-
-
|
32
|
+
- <REDACTED>
|
33
33
|
status:
|
34
34
|
- "200"
|
35
35
|
cache-control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
transfer-encoding:
|
38
38
|
- chunked
|
39
|
-
body: "[{\"
|
39
|
+
body: "[{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1475,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1477,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":1,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1517,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1500,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"16752.0\",\"data_read\":\"8400.0\",\"writes_completed\":\"100749.0\",\"data_written\":\"551148.0\",\"data_sent\":\"23692.0\",\"user_id\":963,\"reads_completed\":\"2088.0\",\"virtual_machine_id\":1507,\"cpu_usage\":\"5016.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":115,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1359,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1501,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1502,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"18878.0\",\"data_read\":\"8668.0\",\"writes_completed\":\"109805.0\",\"data_written\":\"599568.0\",\"data_sent\":\"27285.0\",\"user_id\":974,\"reads_completed\":\"2115.0\",\"virtual_machine_id\":1516,\"cpu_usage\":\"5264.0\"}},{\"vm_stat\":{\"data_received\":\"10789.0\",\"data_read\":\"59272.0\",\"writes_completed\":\"57078.0\",\"data_written\":\"311620.0\",\"data_sent\":\"13707.0\",\"user_id\":114,\"reads_completed\":\"4295.0\",\"virtual_machine_id\":1503,\"cpu_usage\":\"4306.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"0.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":1,\"reads_completed\":\"0.0\",\"virtual_machine_id\":1511,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"3328.0\",\"data_read\":\"12876.0\",\"writes_completed\":\"4792.0\",\"data_written\":\"20528.0\",\"data_sent\":\"1221.0\",\"user_id\":942,\"reads_completed\":\"3193.0\",\"virtual_machine_id\":1343,\"cpu_usage\":\"1013.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"4160.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"1040.0\",\"virtual_machine_id\":1494,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1483,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"0.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":115,\"reads_completed\":\"0.0\",\"virtual_machine_id\":1331,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"0.0\",\"data_read\":\"8320.0\",\"writes_completed\":\"0.0\",\"data_written\":\"0.0\",\"data_sent\":\"0.0\",\"user_id\":114,\"reads_completed\":\"2080.0\",\"virtual_machine_id\":1495,\"cpu_usage\":\"0.0\"}},{\"vm_stat\":{\"data_received\":\"21331.0\",\"data_read\":\"424306.0\",\"writes_completed\":\"123154.0\",\"data_written\":\"2198676.0\",\"data_sent\":\"32970.0\",\"user_id\":952,\"reads_completed\":\"40696.0\",\"virtual_machine_id\":1520,\"cpu_usage\":\"826228.0\"}},{\"vm_stat\":{\"data_received\":\"3638.0\",\"data_read\":\"2102283.0\",\"writes_completed\":\"96488.0\",\"data_written\":\"1070538.0\",\"data_sent\":\"10624.0\",\"user_id\":114,\"reads_completed\":\"165891.0\",\"virtual_machine_id\":1518,\"cpu_usage\":\"8467.0\"}}]"
|
40
40
|
http_version: "1.1"
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/templates.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 200
|
@@ -29,7 +29,7 @@
|
|
29
29
|
date:
|
30
30
|
- Tue, 19 Apr 2011 14:40:49 GMT
|
31
31
|
set-cookie:
|
32
|
-
-
|
32
|
+
- <REDACTED>
|
33
33
|
status:
|
34
34
|
- "200"
|
35
35
|
cache-control:
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/templates/404/make_public.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 404
|
@@ -27,7 +27,7 @@
|
|
27
27
|
x-runtime:
|
28
28
|
- "1.345163"
|
29
29
|
set-cookie:
|
30
|
-
-
|
30
|
+
- <REDACTED>
|
31
31
|
cache-control:
|
32
32
|
- no-cache
|
33
33
|
status:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
- !ruby/struct:VCR::HTTPInteraction
|
40
40
|
request: !ruby/struct:VCR::Request
|
41
41
|
method: :post
|
42
|
-
uri: http
|
42
|
+
uri: http://<USER>:<PASS>@<URL>:80/templates/1/make_public.json
|
43
43
|
body:
|
44
44
|
headers:
|
45
45
|
content-type:
|
46
46
|
- application/json
|
47
47
|
authorization:
|
48
|
-
- Basic
|
48
|
+
- Basic <REDACTED>
|
49
49
|
response: !ruby/struct:VCR::Response
|
50
50
|
status: !ruby/struct:VCR::ResponseStatus
|
51
51
|
code: 201
|
@@ -66,7 +66,7 @@
|
|
66
66
|
date:
|
67
67
|
- Tue, 19 Apr 2011 14:56:38 GMT
|
68
68
|
set-cookie:
|
69
|
-
-
|
69
|
+
- <REDACTED>
|
70
70
|
status:
|
71
71
|
- "201"
|
72
72
|
cache-control:
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/transactions.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 200
|
@@ -29,7 +29,7 @@
|
|
29
29
|
date:
|
30
30
|
- Tue, 03 May 2011 18:03:40 GMT
|
31
31
|
set-cookie:
|
32
|
-
-
|
32
|
+
- <REDACTED>
|
33
33
|
status:
|
34
34
|
- "200"
|
35
35
|
cache-control:
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/transactions/5.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 404
|
@@ -27,7 +27,7 @@
|
|
27
27
|
x-runtime:
|
28
28
|
- "0.039852"
|
29
29
|
set-cookie:
|
30
|
-
-
|
30
|
+
- <REDACTED>
|
31
31
|
cache-control:
|
32
32
|
- no-cache
|
33
33
|
status:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
- !ruby/struct:VCR::HTTPInteraction
|
40
40
|
request: !ruby/struct:VCR::Request
|
41
41
|
method: :get
|
42
|
-
uri: http
|
42
|
+
uri: http://<USER>:<PASS>@<URL>:80/transactions/1.json
|
43
43
|
body:
|
44
44
|
headers:
|
45
45
|
content-type:
|
46
46
|
- application/json
|
47
47
|
authorization:
|
48
|
-
- Basic
|
48
|
+
- Basic <REDACTED>
|
49
49
|
response: !ruby/struct:VCR::Response
|
50
50
|
status: !ruby/struct:VCR::ResponseStatus
|
51
51
|
code: 200
|
@@ -66,7 +66,7 @@
|
|
66
66
|
date:
|
67
67
|
- Tue, 03 May 2011 18:09:33 GMT
|
68
68
|
set-cookie:
|
69
|
-
-
|
69
|
+
- <REDACTED>
|
70
70
|
status:
|
71
71
|
- "200"
|
72
72
|
cache-control:
|
@@ -2,13 +2,13 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http
|
5
|
+
uri: http://<USER>:<PASS>@<URL>:80/users/1/activate_user.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
content-type:
|
9
9
|
- application/json
|
10
10
|
authorization:
|
11
|
-
- Basic
|
11
|
+
- Basic <REDACTED>
|
12
12
|
response: !ruby/struct:VCR::Response
|
13
13
|
status: !ruby/struct:VCR::ResponseStatus
|
14
14
|
code: 200
|
@@ -17,24 +17,24 @@
|
|
17
17
|
x-ua-compatible:
|
18
18
|
- IE=Edge,chrome=1
|
19
19
|
etag:
|
20
|
-
- "\"
|
20
|
+
- "\"892fd0dad08b81a72e76b9317ef13a71\""
|
21
21
|
x-powered-by:
|
22
22
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.1
|
23
23
|
content-type:
|
24
24
|
- application/json; charset=utf-8
|
25
25
|
x-runtime:
|
26
|
-
- "0.
|
26
|
+
- "0.498752"
|
27
27
|
server:
|
28
28
|
- Apache/2.2.3 (CentOS)
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Fri, 10 Feb 2012 17:12:37 GMT
|
31
31
|
set-cookie:
|
32
|
-
-
|
32
|
+
- <REDACTED>
|
33
33
|
status:
|
34
34
|
- "200"
|
35
35
|
cache-control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
transfer-encoding:
|
38
38
|
- chunked
|
39
|
-
body: "{\"user\":{\"activated_at\":\"2011-04-13T21:05:37Z\",\"created_at\":\"2011-04-13T15:13:35Z\",\"total_amount\":0.0,\"remember_token_expires_at\":null,\"suspend_at\":null,\"memory_available\":null,\"used_ip_addresses\":[],\"deleted_at\":null,\"updated_at\":\"2011-04-13T21:05:37Z\",\"used_disk_size\":0,\"used_cpus\":0,\"used_cpu_shares\":0,\"activation_code\":null,\"billing_plan_id\":1,\"group_id\":null,\"id\":2,\"used_memory\":0,\"payment_amount\":\"0.0\",\"last_name\":\"last\",\"remember_token\":null,\"disk_space_available\":null,\"time_zone\":null,\"login\":\"testing\",\"status\":\"active\",\"roles\":[{\"role\":{\"label\":\"User\",\"created_at\":\"2011-04-13T14:37:38Z\",\"updated_at\":\"2011-04-13T14:37:38Z\",\"id\":2,\"identifier\":\"user\"}}],\"outstanding_amount\":0.0,\"email\":\"test@example.com\",\"first_name\":\"first\"}}"
|
39
|
+
body: "{\"user\":{\"aflexi_user_id\":614389567,\"total_amount\":2.342100018167e+28,\"activated_at\":\"2012-02-10T17:12:37Z\",\"created_at\":\"2010-10-27T10:08:40Z\",\"aflexi_password\":\"0QWXUCnSgDwt\",\"cdn_account_status\":\"ACTIVE\",\"remember_token_expires_at\":null,\"suspend_at\":null,\"memory_available\":5935,\"used_disk_size\":12,\"used_ip_addresses\":[{\"ip_address\":{\"address\":\"109.123.105.210\",\"disallowed_primary\":false,\"netmask\":\"255.255.255.240\",\"created_at\":\"2010-10-27T15:28:22Z\",\"broadcast\":\"109.123.105.223\",\"updated_at\":\"2011-10-10T09:03:14Z\",\"network_id\":1,\"network_address\":\"109.123.105.208\",\"id\":15,\"free\":false,\"gateway\":\"109.123.105.209\"}},{\"ip_address\":{\"address\":\"109.123.105.215\",\"disallowed_primary\":false,\"netmask\":\"255.255.255.240\",\"created_at\":\"2010-10-27T15:28:22Z\",\"broadcast\":\"109.123.105.223\",\"updated_at\":\"2011-10-10T09:03:14Z\",\"network_id\":1,\"network_address\":\"109.123.105.208\",\"id\":20,\"free\":false,\"gateway\":\"109.123.105.209\"}},{\"ip_address\":{\"address\":\"83.170.67.234\",\"disallowed_primary\":false,\"netmask\":\"255.255.255.224\",\"created_at\":\"2011-01-20T11:23:31Z\",\"broadcast\":\"83.170.67.255\",\"updated_at\":\"2011-10-10T09:15:15Z\",\"network_id\":1,\"network_address\":\"83.170.67.224\",\"id\":33451,\"free\":false,\"gateway\":\"83.170.67.225\"}}],\"deleted_at\":null,\"updated_at\":\"2012-02-10T17:12:37Z\",\"used_cpu_shares\":2,\"used_cpus\":2,\"billing_plan_id\":41,\"cdn_status\":\"ACTIVE\",\"group_id\":1,\"id\":1,\"update_billing_stat\":false,\"used_memory\":384,\"aflexi_key\":null,\"user_group_id\":4,\"payment_amount\":\"1003000.0\",\"last_name\":\"Smith\",\"remember_token\":null,\"disk_space_available\":460,\"image_template_group_id\":null,\"locale\":\"en\",\"time_zone\":\"Kyiv\",\"login\":\"admin\",\"status\":\"active\",\"outstanding_amount\":2.342100018167e+28,\"roles\":[{\"role\":{\"label\":\"administrator\",\"created_at\":\"2012-02-10T09:45:16Z\",\"updated_at\":\"2012-02-10T14:35:55Z\",\"id\":405,\"permissions\":[{\"permission\":{\"label\":\"Any action on Autoscaling Configuration\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:18Z\",\"id\":307,\"identifier\":\"auto_scalings\"}},{\"permission\":{\"label\":\"Any action on autobackup templates\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":168,\"identifier\":\"autobackup_templates\"}},{\"permission\":{\"label\":\"Any action on backups\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":44,\"identifier\":\"backups\"}},{\"permission\":{\"label\":\"Any action on resources\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":191,\"identifier\":\"base_resources\"}},{\"permission\":{\"label\":\"Any action on billing plans\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":185,\"identifier\":\"billing_plans\"}},{\"permission\":{\"label\":\"Any action on CDN resource\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":328,\"identifier\":\"cdn_resources\"}},{\"permission\":{\"label\":\"See details of CDN usage statistics\",\"created_at\":\"2011-07-20T16:20:15Z\",\"updated_at\":\"2011-12-06T16:40:13Z\",\"id\":296,\"identifier\":\"cdn_usage_stats\"}},{\"permission\":{\"label\":\"Any action with Currencies\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":269,\"identifier\":\"currencies\"}},{\"permission\":{\"label\":\"All actions on Dashboard\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":123,\"identifier\":\"dashboard\"}},{\"permission\":{\"label\":\"All actions on datastores on Hypervisor\",\"created_at\":\"2010-10-27T10:08:30Z\",\"updated_at\":\"2010-10-27T10:08:30Z\",\"id\":164,\"identifier\":\"data_store_joins\"}},{\"permission\":{\"label\":\"Any action on data store zones\",\"created_at\":\"2011-07-20T15:49:03Z\",\"updated_at\":\"2011-07-20T15:49:03Z\",\"id\":173,\"identifier\":\"data_store_zones\"}},{\"permission\":{\"label\":\"Any action on data_stores\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":55,\"identifier\":\"data_stores\"}},{\"permission\":{\"label\":\"Any action on disks\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":24,\"identifier\":\"disks\"}},{\"permission\":{\"label\":\"Any action on edge group\",\"created_at\":\"2011-10-10T09:15:17Z\",\"updated_at\":\"2011-10-10T09:15:17Z\",\"id\":323,\"identifier\":\"edge_groups\"}},{\"permission\":{\"label\":\"Any action on Edge Server\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":347,\"identifier\":\"edge_servers\"}},{\"permission\":{\"label\":\"Any action with Firewall Rules \",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":274,\"identifier\":\"firewall_rules\"}},{\"permission\":{\"label\":\"Any action on groups\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":96,\"identifier\":\"groups\"}},{\"permission\":{\"label\":\"All actions on Help\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":125,\"identifier\":\"help\"}},{\"permission\":{\"label\":\"Any action on hypervisor zones\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":211,\"identifier\":\"hypervisor_zones\"}},{\"permission\":{\"label\":\"Any action on hypervisors\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":19,\"identifier\":\"hypervisors\"}},{\"permission\":{\"label\":\"Any action on template groups\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":249,\"identifier\":\"image_template_groups\"}},{\"permission\":{\"label\":\"Full access to IO Statistics\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":227,\"identifier\":\"io_stats\"}},{\"permission\":{\"label\":\"All actions on virtual machine's IP addresses\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":145,\"identifier\":\"ip_address_joins\"}},{\"permission\":{\"label\":\"Any action on ip addresses\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":70,\"identifier\":\"ip_addresses\"}},{\"permission\":{\"label\":\"Any action on mounting ISO\",\"created_at\":\"2011-07-20T15:49:08Z\",\"updated_at\":\"2011-07-20T15:49:08Z\",\"id\":217,\"identifier\":\"iso_joins\"}},{\"permission\":{\"label\":\"Any action on isos\",\"created_at\":\"2011-07-20T15:49:06Z\",\"updated_at\":\"2011-07-20T15:49:06Z\",\"id\":198,\"identifier\":\"isos\"}},{\"permission\":{\"label\":\"Any action on Load Balancer\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":362,\"identifier\":\"load_balancers\"}},{\"permission\":{\"label\":\"Any action on relation load_balancing\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":299,\"identifier\":\"load_balancing_clusters\"}},{\"permission\":{\"label\":\"Any action on log items\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":155,\"identifier\":\"log_items\"}},{\"permission\":{\"label\":\"Any action on relation monitis monitors\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":316,\"identifier\":\"monitis_monitors\"}},{\"permission\":{\"label\":\"Full access to Mounthly Bills Statistics\",\"created_at\":\"2011-07-20T16:31:12Z\",\"updated_at\":\"2011-07-20T16:31:12Z\",\"id\":318,\"identifier\":\"monthly_bills\"}},{\"permission\":{\"label\":\"Any action on nameservers\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":75,\"identifier\":\"nameservers\"}},{\"permission\":{\"label\":\"Any action on network zones\",\"created_at\":\"2011-07-20T15:49:03Z\",\"updated_at\":\"2011-07-20T15:49:03Z\",\"id\":179,\"identifier\":\"network_zones\"}},{\"permission\":{\"label\":\"Any action on networks\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":65,\"identifier\":\"networks\"}},{\"permission\":{\"label\":\"Any action on payments\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":101,\"identifier\":\"payments\"}},{\"permission\":{\"label\":\"Any action on permissions\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":60,\"identifier\":\"permissions\"}},{\"permission\":{\"label\":\"Any action on relation group_templates\",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":264,\"identifier\":\"relation_group_templates\"}},{\"permission\":{\"label\":\"Any action on resource limit\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":85,\"identifier\":\"resource_limits\"}},{\"permission\":{\"label\":\"Any action on Roles\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":91,\"identifier\":\"roles\"}},{\"permission\":{\"label\":\"Any action on schedule logs\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":136,\"identifier\":\"schedule_logs\"}},{\"permission\":{\"label\":\"Any action on schedules\",\"created_at\":\"2010-10-27T10:08:29Z\",\"updated_at\":\"2010-10-27T10:08:29Z\",\"id\":126,\"identifier\":\"schedules\"}},{\"permission\":{\"label\":\"Any action on Settings\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":107,\"identifier\":\"settings\"}},{\"permission\":{\"label\":\"All actions on Sysadmin Tools\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":124,\"identifier\":\"sysadmin_tools\"}},{\"permission\":{\"label\":\"Any action on template sets\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":363,\"identifier\":\"template_sets\"}},{\"permission\":{\"label\":\"Any action on templates\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":32,\"identifier\":\"templates\"}},{\"permission\":{\"label\":\"Any action on Themes\",\"created_at\":\"2011-07-20T16:20:11Z\",\"updated_at\":\"2011-07-20T16:20:11Z\",\"id\":286,\"identifier\":\"themes\"}},{\"permission\":{\"label\":\"Any action on transactions\",\"created_at\":\"2010-10-27T10:08:27Z\",\"updated_at\":\"2010-10-27T10:08:27Z\",\"id\":82,\"identifier\":\"transactions\"}},{\"permission\":{\"label\":\"Any action on user groups\",\"created_at\":\"2011-07-20T16:20:09Z\",\"updated_at\":\"2011-07-20T16:20:09Z\",\"id\":243,\"identifier\":\"user_groups\"}},{\"permission\":{\"label\":\"Any action with White IP list \",\"created_at\":\"2011-07-20T16:20:10Z\",\"updated_at\":\"2011-07-20T16:20:10Z\",\"id\":255,\"identifier\":\"user_white_lists\"}},{\"permission\":{\"label\":\"Any action on users\",\"created_at\":\"2010-10-27T10:08:26Z\",\"updated_at\":\"2010-10-27T10:08:26Z\",\"id\":11,\"identifier\":\"users\"}},{\"permission\":{\"label\":\"Any action on virtual machines\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2010-10-27T10:08:25Z\",\"id\":1,\"identifier\":\"virtual_machines\"}},{\"permission\":{\"label\":\"Full access to Statistics\",\"created_at\":\"2010-10-27T10:08:28Z\",\"updated_at\":\"2010-10-27T10:08:28Z\",\"id\":116,\"identifier\":\"vm_stats\"}},{\"permission\":{\"label\":\"Add ssh keys for all the virtual machines\",\"created_at\":\"2011-10-10T09:15:18Z\",\"updated_at\":\"2011-10-10T09:15:18Z\",\"id\":360,\"identifier\":\"ssh_keys.add\"}}],\"identifier\":\"r5yzw8wkarmh93\"}}],\"aflexi_username\":\"onapp-pub-1-a3ef742fb21ca0a8900a41c71183e4a0\",\"email\":\"admin@example.com\",\"first_name\":\"Test\"}}"
|
40
40
|
http_version: "1.1"
|