code42 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/code42.rb +1 -0
  3. data/lib/code42/api/role.rb +30 -0
  4. data/lib/code42/api/user.rb +7 -0
  5. data/lib/code42/attribute_serializer.rb +1 -1
  6. data/lib/code42/client.rb +1 -1
  7. data/lib/code42/permission.rb +13 -0
  8. data/lib/code42/resource.rb +3 -2
  9. data/lib/code42/role.rb +8 -1
  10. data/lib/code42/role_collection.rb +4 -0
  11. data/lib/code42/user.rb +10 -0
  12. data/lib/code42/version.rb +1 -1
  13. data/spec/cassettes/Code42_Client/_create_org/returns_created_org.yml +7 -41
  14. data/spec/cassettes/Code42_Client/_create_role/creates_a_role.yml +42 -0
  15. data/spec/cassettes/Code42_Client/_create_user/returns_created_user.yml +8 -32
  16. data/spec/cassettes/Code42_Client/_create_user/when_sending_an_invalid_email/raises_an_exception.yml +8 -7
  17. data/spec/cassettes/Code42_Client/_deactivate_org/puts_to_the_correct_route.yml +6 -8
  18. data/spec/cassettes/Code42_Client/_delete_role/deletes_a_role.yml +67 -0
  19. data/spec/cassettes/Code42_Client/_find_org_by_name/returns_the_org_with_the_specified_name.yml +9 -44
  20. data/spec/cassettes/Code42_Client/_get_token/returns_valid_tokens.yml +9 -17
  21. data/spec/cassettes/Code42_Client/_get_token/when_providing_invalid_credentials/should_raise_an_exception.yml +6 -5
  22. data/spec/cassettes/Code42_Client/_org/when_ID_is_not_passed/returns_my_org.yml +7 -41
  23. data/spec/cassettes/Code42_Client/_org/when_ID_is_passed_in/returns_a_specific_org.yml +7 -41
  24. data/spec/cassettes/Code42_Client/_permissions/returns_an_enumerable_of_permissions.yml +120 -0
  25. data/spec/cassettes/Code42_Client/_ping/returns_a_ping.yml +9 -14
  26. data/spec/cassettes/Code42_Client/_reset_password/when_sending_a_user_id/as_a_string/behaves_like_reset_password/is_successful.yml +41 -3
  27. data/spec/cassettes/Code42_Client/_reset_password/when_sending_a_user_id/as_an_integer/behaves_like_reset_password/is_successful.yml +41 -3
  28. data/spec/cassettes/Code42_Client/_reset_password/when_sending_a_username/behaves_like_reset_password/is_successful.yml +41 -3
  29. data/spec/cassettes/Code42_Client/_reset_password/when_sending_a_view_url/behaves_like_reset_password/is_successful.yml +41 -3
  30. data/spec/cassettes/Code42_Client/_roles/returns_an_enumerable.yml +243 -0
  31. data/spec/cassettes/Code42_Client/_unassign_role/removes_the_role.yml +107 -0
  32. data/spec/cassettes/Code42_Client/_update_role/updates_a_role.yml +155 -0
  33. data/spec/cassettes/Code42_Client/_update_user/returns_the_updated_user.yml +14 -12
  34. data/spec/cassettes/Code42_Client/_update_user/when_sending_an_invalid_email/raises_an_exception.yml +11 -10
  35. data/spec/cassettes/Code42_Client/_user/when_ID_is_not_passed/returns_my_user.yml +7 -32
  36. data/spec/cassettes/Code42_Client/_user/when_ID_is_passed_in/returns_a_specific_user.yml +8 -32
  37. data/spec/cassettes/Code42_Client/_user/when_blocked/returns_the_blocked_status.yml +15 -39
  38. data/spec/cassettes/Code42_Client/_user/when_unblocked/returns_the_blocked_status.yml +17 -38
  39. data/spec/cassettes/Code42_Client/_user_roles/returns_an_enumerable.yml +7 -19
  40. data/spec/cassettes/Code42_Client/_validate_token/returns_a_valid_response.yml +18 -34
  41. data/spec/code42/client_spec.rb +57 -2
  42. metadata +15 -2
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://admin:admin@localhost:4280/api/Role/1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ response:
17
+ status:
18
+ code: 500
19
+ message: '[{"name":"LOCKED_ROLE","description":"com.code42.core.CommandException","objects":[]}]'
20
+ headers:
21
+ Pragma:
22
+ - no-cache
23
+ Content-Location:
24
+ - http://localhost:4280/api/v1/Role/1
25
+ Content-Length:
26
+ - '0'
27
+ Server:
28
+ - Jetty(7.6.3.v20120416)
29
+ body:
30
+ encoding: UTF-8
31
+ string: ''
32
+ http_version:
33
+ recorded_at: Wed, 09 Jul 2014 15:49:27 GMT
34
+ - request:
35
+ method: delete
36
+ uri: http://admin:admin@localhost:4280/api/Role/62
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ''
40
+ headers:
41
+ User-Agent:
42
+ - Faraday v0.9.0
43
+ Accept-Encoding:
44
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
45
+ Accept:
46
+ - '*/*'
47
+ response:
48
+ status:
49
+ code: 204
50
+ message: No Content
51
+ headers:
52
+ Cache-Control:
53
+ - no-store
54
+ Pragma:
55
+ - no-cache
56
+ Content-Location:
57
+ - http://localhost:4280/api/v1/Role/62
58
+ Content-Type:
59
+ - application/json
60
+ Server:
61
+ - Jetty(7.6.3.v20120416)
62
+ body:
63
+ encoding: UTF-8
64
+ string: ''
65
+ http_version:
66
+ recorded_at: Wed, 09 Jul 2014 15:50:43 GMT
67
+ recorded_with: VCR 2.5.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://admin:admin@localhost:7280/api/org?q=PROServer%20Demo
5
+ uri: http://admin:admin@localhost:4280/api/org?q=PROServer%20Demo
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.9.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
@@ -22,54 +22,19 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
+ Content-Location:
26
+ - http://localhost:4280/api/v1/org?q=PROServer+Demo
25
27
  Content-Type:
26
- - application/json; charset=utf-8
28
+ - application/json;charset=UTF-8
27
29
  Transfer-Encoding:
28
30
  - chunked
29
31
  Server:
30
32
  - Jetty(7.6.3.v20120416)
31
33
  body:
32
34
  encoding: UTF-8
33
- string: |-
34
- {
35
- "metadata": {
36
- "timestamp": "2013-06-13T15:16:30.378-05:00",
37
- "params": {"q": "PROServer Demo"}
38
- },
39
- "data": {
40
- "totalCount": 1,
41
- "orgs": [ {
42
- "orgId": 2,
43
- "orgUid": "proserverdemo",
44
- "orgName": "PROServer Demo",
45
- "status": "Active",
46
- "active": true,
47
- "blocked": false,
48
- "parentOrgId": null,
49
- "type": "ENTERPRISE",
50
- "externalId": "proserverdemo",
51
- "hierarchyCounts": {},
52
- "configInheritanceCounts": {},
53
- "creationDate": "2013-06-13T15:12:53.017-05:00",
54
- "modificationDate": "2013-06-13T15:12:53.017-05:00",
55
- "registrationKey": "2KKW-9TST-2HU2-UPT8",
56
- "reporting": {},
57
- "customConfig": false,
58
- "settings": {
59
- "maxSeats": null,
60
- "maxBytes": null
61
- },
62
- "settingsInherited": {
63
- "maxSeats": "",
64
- "maxBytes": ""
65
- },
66
- "settingsSummary": {
67
- "maxSeats": "",
68
- "maxBytes": ""
69
- }
70
- }]
71
- }
72
- }
35
+ string: '{"metadata":{"timestamp":"2014-07-09T10:34:43.698-05:00","params":{"q":"PROServer
36
+ Demo"}},"data":{"totalCount":1,"orgs":[{"orgId":2,"orgUid":"proserverdemo","orgName":"PROServer
37
+ Demo","status":"Active","active":true,"blocked":false,"parentOrgId":null,"type":"ENTERPRISE","classification":"BASIC","externalId":"proserverdemo","hierarchyCounts":{},"configInheritanceCounts":{},"creationDate":"2014-07-08T10:57:57.937-05:00","modificationDate":"2014-07-08T10:57:57.937-05:00","registrationKey":"2KKW-9TST-2HU2-UPT8","reporting":{},"customConfig":false,"settings":{"maxSeats":null,"maxBytes":null},"settingsInherited":{"maxSeats":"","maxBytes":""},"settingsSummary":{"maxSeats":"","maxBytes":""}}]}}'
73
38
  http_version:
74
- recorded_at: Thu, 13 Jun 2013 20:16:30 GMT
39
+ recorded_at: Wed, 09 Jul 2014 15:34:43 GMT
75
40
  recorded_with: VCR 2.5.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://admin:admin@localhost:7280/api/authToken
5
+ uri: http://admin:admin@localhost:4280/api/authToken
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{}'
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.9.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept-Encoding:
@@ -24,25 +24,17 @@ http_interactions:
24
24
  - no-store
25
25
  Pragma:
26
26
  - no-cache
27
+ Content-Location:
28
+ - http://localhost:4280/api/v1/authToken
27
29
  Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
30
+ - application/json;charset=UTF-8
31
+ Content-Length:
32
+ - '137'
31
33
  Server:
32
34
  - Jetty(7.6.3.v20120416)
33
35
  body:
34
36
  encoding: UTF-8
35
- string: |-
36
- {
37
- "metadata": {
38
- "timestamp": "2013-06-13T15:16:30.003-05:00",
39
- "params": {}
40
- },
41
- "data": [
42
- "1abpbyu8u4ub00aatqoiiv4d6f",
43
- "10d01ie6qbuxw0n4iudhoopjxa"
44
- ]
45
- }
37
+ string: '{"metadata":{"timestamp":"2014-07-09T10:34:43.941-05:00","params":{}},"data":["1x0c1cat5ecba0orq33ljgv1kp","1f3zmbyc5d0vh0szy4uvkrmvvp"]}'
46
38
  http_version:
47
- recorded_at: Thu, 13 Jun 2013 20:16:30 GMT
39
+ recorded_at: Wed, 09 Jul 2014 15:34:43 GMT
48
40
  recorded_with: VCR 2.5.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://admin:badpassword@localhost:7280/api/authToken
5
+ uri: http://admin:badpassword@localhost:4280/api/authToken
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{}'
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.9.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept-Encoding:
@@ -18,11 +18,12 @@ http_interactions:
18
18
  response:
19
19
  status:
20
20
  code: 401
21
- message: '[{ "name": "SYSTEM", "description": "Invalid or missing credentials"
22
- }]'
21
+ message: '[{"name":"SYSTEM","description":"Invalid or missing credentials"}]'
23
22
  headers:
24
23
  Pragma:
25
24
  - no-cache
25
+ Content-Location:
26
+ - http://localhost:4280/api/v1/authToken
26
27
  Content-Type:
27
28
  - text/html;charset=ISO-8859-1
28
29
  Cache-Control:
@@ -35,5 +36,5 @@ http_interactions:
35
36
  encoding: UTF-8
36
37
  string: '[{"name":"SYSTEM","description":"Invalid or missing credentials"}]'
37
38
  http_version:
38
- recorded_at: Thu, 13 Jun 2013 20:16:30 GMT
39
+ recorded_at: Wed, 09 Jul 2014 15:34:43 GMT
39
40
  recorded_with: VCR 2.5.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://admin:admin@localhost:7280/api/org/my
5
+ uri: http://admin:admin@localhost:4280/api/org/my
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.9.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
@@ -22,51 +22,17 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
+ Content-Location:
26
+ - http://localhost:4280/api/v1/org/my
25
27
  Content-Type:
26
- - application/json; charset=utf-8
28
+ - application/json;charset=UTF-8
27
29
  Transfer-Encoding:
28
30
  - chunked
29
31
  Server:
30
32
  - Jetty(7.6.3.v20120416)
31
33
  body:
32
34
  encoding: UTF-8
33
- string: |-
34
- {
35
- "metadata": {
36
- "timestamp": "2013-06-13T15:16:30.279-05:00",
37
- "params": {}
38
- },
39
- "data": {
40
- "orgId": 1,
41
- "orgUid": "ADMIN",
42
- "orgName": "ADMIN",
43
- "status": "Active",
44
- "active": true,
45
- "blocked": false,
46
- "parentOrgId": null,
47
- "type": "ENTERPRISE",
48
- "externalId": "ADMIN",
49
- "hierarchyCounts": {},
50
- "configInheritanceCounts": {},
51
- "creationDate": "2006-05-23T15:11:39.159-05:00",
52
- "modificationDate": "2013-06-13T15:14:38.120-05:00",
53
- "registrationKey": "xxxxxxxxxxxxxxxx",
54
- "reporting": {},
55
- "customConfig": true,
56
- "settings": {
57
- "maxSeats": -1,
58
- "maxBytes": -1
59
- },
60
- "settingsInherited": {
61
- "maxSeats": "",
62
- "maxBytes": ""
63
- },
64
- "settingsSummary": {
65
- "maxSeats": -1,
66
- "maxBytes": -1
67
- }
68
- }
69
- }
35
+ string: '{"metadata":{"timestamp":"2014-07-09T10:34:44.572-05:00","params":{}},"data":{"orgId":1,"orgUid":"ADMIN","orgName":"ADMIN","status":"Active","active":true,"blocked":false,"parentOrgId":null,"type":"ENTERPRISE","classification":"BASIC","externalId":"ADMIN","hierarchyCounts":{},"configInheritanceCounts":{},"creationDate":"2006-05-23T15:11:39.159-05:00","modificationDate":"2014-07-08T10:58:56.033-05:00","registrationKey":"xxxxxxxxxxxxxxxx","reporting":{},"customConfig":true,"settings":{"maxSeats":-1,"maxBytes":-1},"settingsInherited":{"maxSeats":"","maxBytes":""},"settingsSummary":{"maxSeats":-1,"maxBytes":-1}}}'
70
36
  http_version:
71
- recorded_at: Thu, 13 Jun 2013 20:16:30 GMT
37
+ recorded_at: Wed, 09 Jul 2014 15:34:44 GMT
72
38
  recorded_with: VCR 2.5.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://admin:admin@localhost:7280/api/org/1
5
+ uri: http://admin:admin@localhost:4280/api/org/1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.9.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
@@ -22,51 +22,17 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
+ Content-Location:
26
+ - http://localhost:4280/api/v1/org/1
25
27
  Content-Type:
26
- - application/json; charset=utf-8
28
+ - application/json;charset=UTF-8
27
29
  Transfer-Encoding:
28
30
  - chunked
29
31
  Server:
30
32
  - Jetty(7.6.3.v20120416)
31
33
  body:
32
34
  encoding: UTF-8
33
- string: |-
34
- {
35
- "metadata": {
36
- "timestamp": "2013-06-13T15:16:30.317-05:00",
37
- "params": {}
38
- },
39
- "data": {
40
- "orgId": 1,
41
- "orgUid": "ADMIN",
42
- "orgName": "ADMIN",
43
- "status": "Active",
44
- "active": true,
45
- "blocked": false,
46
- "parentOrgId": null,
47
- "type": "ENTERPRISE",
48
- "externalId": "ADMIN",
49
- "hierarchyCounts": {},
50
- "configInheritanceCounts": {},
51
- "creationDate": "2006-05-23T15:11:39.159-05:00",
52
- "modificationDate": "2013-06-13T15:14:38.120-05:00",
53
- "registrationKey": "xxxxxxxxxxxxxxxx",
54
- "reporting": {},
55
- "customConfig": true,
56
- "settings": {
57
- "maxSeats": -1,
58
- "maxBytes": -1
59
- },
60
- "settingsInherited": {
61
- "maxSeats": "",
62
- "maxBytes": ""
63
- },
64
- "settingsSummary": {
65
- "maxSeats": -1,
66
- "maxBytes": -1
67
- }
68
- }
69
- }
35
+ string: '{"metadata":{"timestamp":"2014-07-09T10:34:44.614-05:00","params":{}},"data":{"orgId":1,"orgUid":"ADMIN","orgName":"ADMIN","status":"Active","active":true,"blocked":false,"parentOrgId":null,"type":"ENTERPRISE","classification":"BASIC","externalId":"ADMIN","hierarchyCounts":{},"configInheritanceCounts":{},"creationDate":"2006-05-23T15:11:39.159-05:00","modificationDate":"2014-07-08T10:58:56.033-05:00","registrationKey":"xxxxxxxxxxxxxxxx","reporting":{},"customConfig":true,"settings":{"maxSeats":-1,"maxBytes":-1},"settingsInherited":{"maxSeats":"","maxBytes":""},"settingsSummary":{"maxSeats":-1,"maxBytes":-1}}}'
70
36
  http_version:
71
- recorded_at: Thu, 13 Jun 2013 20:16:30 GMT
37
+ recorded_at: Wed, 09 Jul 2014 15:34:44 GMT
72
38
  recorded_with: VCR 2.5.0
@@ -0,0 +1,120 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://admin:admin@localhost:4280/api/permission
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - no-store
23
+ Pragma:
24
+ - no-cache
25
+ Content-Location:
26
+ - http://localhost:4280/api/v1/permission
27
+ Content-Type:
28
+ - application/json;charset=UTF-8
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Server:
32
+ - Jetty(7.6.15.v20140411)
33
+ body:
34
+ encoding: UTF-8
35
+ string: '{"metadata":{"timestamp":"2014-07-09T15:23:52.756-05:00","params":{}},"data":[{"name":"ALL","value":"admin.plan","description":"User
36
+ is allowed to create, read, update and delete plans within his org hierarchy"},{"name":"DELETE","value":"admin.allorg.delete","description":"Permission
37
+ to delete any org"},{"name":"DELETE","value":"admin.computer.delete","description":"Permission
38
+ to delete computer"},{"name":"UPDATE","value":"admin.allcomputer.update","description":"Permission
39
+ to update computer information for all orgs"},{"name":"CREATE","value":"admin.user.create","description":"Permission
40
+ to create users"},{"name":"PROMOTE","value":"admin.planuser.promote","description":"Member
41
+ can change the role of other plan members"},{"name":"UPDATE_RESTRICTED","value":"admin.allorg.update_restricted","description":"Permission
42
+ to update restricted org information for all orgs"},{"name":"ALL","value":"admin.computer","description":"Permission
43
+ to access, alter or remove any computer information"},{"name":"READ","value":"admin.plan.read","description":"User
44
+ is allowed to read information about plans within his org hierarchy"},{"name":"LOGIN","value":"admin.cpd.login","description":"Permission
45
+ to log in to the CrashPlan app"},{"name":"UPDATE","value":"admin.allplan.update","description":"User
46
+ is allowed to update information on plans in any org hierarchy"},{"name":"COMMAND_RESTRICTED","value":"admin.system.command_restricted","description":"View
47
+ the CLI and run any command which the user has permission for"},{"name":"PERSONAL","value":"admin.restore.personal","description":"Permission
48
+ to perform a personal web restore"},{"name":"DELETE","value":"admin.org.delete","description":"Permission
49
+ to delete information within user\u0027s org"},{"name":"UPDATE","value":"admin.computer.update","description":"Permission
50
+ to update computer information"},{"name":"ALL","value":"admin.allorg","description":"Permission
51
+ to create, alter or delete information in any org"},{"name":"SEND_EMAIL","value":"admin.system.send_email","description":"Ability
52
+ to send email through EmailResource"},{"name":"UPDATE","value":"admin.user.update","description":"Permission
53
+ to update user information"},{"name":"WRITE","value":"admin.planuser.write","description":"Users
54
+ can write plan information."},{"name":"CREATE","value":"admin.plan.create","description":"User
55
+ is allowed to create plans within his org hierarchy"},{"name":"READ","value":"admin.allorg.read","description":"Permission
56
+ to view org information for all orgs"},{"name":"CREATE","value":"admin.allorg.create","description":"Permission
57
+ to create new parent orgs"},{"name":"PERSONAL","value":"admin.select.personal","description":"Permission
58
+ to remotely browse file and directory names for personal devices. Used for
59
+ remotely selecting push-restore destination and backup sources"},{"name":"READ","value":"admin.org.read","description":"Permission
60
+ to view org information within user\u0027s org"},{"name":"SYSTEM_SETTINGS","value":"admin.system.system_settings","description":"Permission
61
+ to edit the System Settings"},{"name":"ALL","value":"admin.pushrestore","description":"Permission
62
+ to perform a push restore from and to any device the user has authority to
63
+ manage"},{"name":"READ","value":"admin.alluser.read","description":"Permission
64
+ to view user information for all orgs"},{"name":"DELETE","value":"admin.alluser.delete","description":"Permission
65
+ to delete users for all orgs"},{"name":"ALL","value":"admin.allplan","description":"User
66
+ is allowed to create, read, update and delete plans in any org hierarchy"},{"name":"ARCHIVE_MAINTENANCE","value":"admin.system.archive_maintenance","description":"View
67
+ and cancel jobs in the archive maintenance queue"},{"name":"ASSUME_USER","value":"admin.system.assume_user","description":"Assume
68
+ the identity of a user account under your management control"},{"name":"READ","value":"admin.allrestorerecord.read","description":"Permission
69
+ to view all restore records across all orgs"},{"name":"ALL","value":"admin.org","description":"Permission
70
+ to create, alter or delete information within user\u0027s org"},{"name":"ALL","value":"admin.planuser","description":"Member
71
+ can view the member list, invite and evict members, and their changes are
72
+ synced to the plan"},{"name":"ALL","value":"admin","description":"Super User
73
+ Permission; grant with caution!"},{"name":"UPDATE_BASIC","value":"admin.org.update_basic","description":"Permission
74
+ to update basic information within user\u0027s org"},{"name":"DELETE","value":"admin.plan.delete","description":"User
75
+ is allowed to delete plans from his org hierarchy"},{"name":"CREATE","value":"admin.org.create","description":"Permission
76
+ to create child orgs within user\u0027s org"},{"name":"UPDATE_BASIC","value":"admin.allorg.update_basic","description":"Permission
77
+ to update basic org information for all orgs"},{"name":"ALL","value":"admin.viewlogs","description":"Permission
78
+ to view system logs"},{"name":"ALL","value":"admin.user","description":"Permission
79
+ to access, alter or remove any user information"},{"name":"PERSONAL","value":"admin.pushrestore.personal","description":"Permission
80
+ to perform a personal push restore"},{"name":"LOGIN","value":"admin.spd.login","description":"Required
81
+ to Login to the SharePlan client desktop application"},{"name":"UPDATE","value":"admin.plan.update","description":"User
82
+ is allowed to update information on plans within his org hierarchy"},{"name":"DELETE","value":"admin.allcomputer.delete","description":"Permission
83
+ to delete computer in any org"},{"name":"ALL","value":"admin.system","description":"Permission
84
+ to edit all system information not reserved for the System Administrator"},{"name":"ALL","value":"admin.select","description":"Permission
85
+ to remotely browse file and directory names for all devices user has authority
86
+ to manage. Used for remotely selecting push-restore destination and backup
87
+ sources"},{"name":"READ","value":"admin.computer.read","description":"Permission
88
+ to view computer information"},{"name":"ALL","value":"admin.alluser","description":"Permission
89
+ to access, alter or remove any user information in any org"},{"name":"DELETE","value":"admin.allplan.delete","description":"User
90
+ is allowed to delete plans from any org hierarchy"},{"name":"LOGIN","value":"admin.cpo.login","description":"Permission
91
+ to log in to the administration console"},{"name":"ALL","value":"admin.restore","description":"Permission
92
+ to perform a full web restore for all devices user has authority to manage"},{"name":"MANAGE_DATABASE","value":"admin.system.manage_database","description":"Permission
93
+ to import or export the database"},{"name":"READ","value":"admin.allcomputer.read","description":"Permission
94
+ to view computer information for all orgs"},{"name":"LIMITED","value":"admin.restore.limited","description":"Permission
95
+ to perform a limited size web restore for all devices user has authority to
96
+ manage"},{"name":"CONTENT_READ","value":"admin.planuser.content_read","description":"File
97
+ changes made by other members are synced to the member\u0027s devices"},{"name":"LIMITED","value":"admin.pushrestore.limited","description":"Permission
98
+ to perform a push restore only to the source user\u0027s devices. There is
99
+ no size limit"},{"name":"EVICT","value":"admin.planuser.evict","description":"Member
100
+ can remove others from the plan"},{"name":"LIFECYCLE","value":"admin.planuser.lifecycle","description":"Member
101
+ can deactivate and reactivate the plan"},{"name":"READ","value":"admin.allplan.read","description":"User
102
+ is allowed to read information about plans in any org hierarchy"},{"name":"QUICKSHARE","value":"admin.planuser.quickshare","description":"Member
103
+ can share content with QuickShare."},{"name":"LOGIN","value":"admin.console.login","description":"Permission
104
+ to log in to the Code42 administration console"},{"name":"CREATE","value":"admin.alluser.create","description":"Permission
105
+ to create users for all orgs"},{"name":"LOGIN","value":"admin.cps.login","description":"Permission
106
+ to log in to the client desktop"},{"name":"CONTENT_WRITE","value":"admin.planuser.content_write","description":"File
107
+ changes made by the member is synced to devices of others in the plan"},{"name":"READ","value":"admin.planuser.read","description":"Users
108
+ can read plan information."},{"name":"DELETE","value":"admin.user.delete","description":"Permission
109
+ to delete users"},{"name":"UPDATE_RESTRICTED","value":"admin.org.update_restricted","description":"Permission
110
+ to update quota and auth settings within user\u0027s org"},{"name":"ALL","value":"admin.allrestorerecord","description":"Permission
111
+ to do all restore record operations (currently just READ)"},{"name":"LOGIN","value":"admin.cpp.login","description":"Permission
112
+ to log in to the administration console"},{"name":"READ","value":"admin.user.read","description":"Permission
113
+ to view user information"},{"name":"ALL","value":"admin.allcomputer","description":"Permission
114
+ to access, alter or remove any computer information in any org"},{"name":"UPDATE","value":"admin.alluser.update","description":"Permission
115
+ to update user information for all orgs"},{"name":"COMMAND","value":"admin.system.command","description":"View
116
+ the CLI and run any command"},{"name":"INVITE","value":"admin.planuser.invite","description":"Member
117
+ can invite others into the plan"}]}'
118
+ http_version:
119
+ recorded_at: Wed, 09 Jul 2014 20:23:52 GMT
120
+ recorded_with: VCR 2.5.0