@@ -29,96 +29,175 @@ schema:
29
29
type : Boolean
30
30
value : true
31
31
description : If this user may manage longview subscription.
32
- customer :
33
- type : Object
34
- description : Grants related to modifying the account.
35
- access :
32
+ add_images :
36
33
type : Boolean
37
- value : false
38
- description : If this user may modify the account.
39
- cancel :
34
+ value : true
35
+ description : If this user may create images.
36
+ add_volumes :
37
+ type : Boolean
38
+ value : true
39
+ description : If this user may create volumes.
40
+ account_access :
41
+ type : Enum
42
+ subtype : GrantLevel
43
+ value : read_write
44
+ description : >
45
+ The level of access this user has to account information. read_only gives
46
+ access to view billing and payment history, read_write gives access to
47
+ make payments, and null is no access.
48
+ cancel_account :
40
49
type : Boolean
41
50
value : false
42
- description : If this user may cancel the account.
51
+ description : If this user may cancel the entire account.
43
52
stackscript :
44
53
type : Object
45
54
isArray : true
46
- description : Individual grants to StackScripts you own. Grants include all, use, edit and delete
47
- all :
48
- type : Boolean
49
- value : false
50
- edit :
51
- type : Boolean
52
- value : true
53
- delete :
54
- type : Boolean
55
- value : false
55
+ description : Individual grants this user has to StackScripts you own.
56
56
id :
57
57
type : Boolean
58
- value : 123
58
+ value : 456
59
59
label :
60
60
type : string
61
61
value : Wordpress
62
- use :
63
- type : Boolean
64
- value : false
62
+ permissions :
63
+ type : Enum
64
+ subtype : GrantLevel
65
+ value : read_only
66
+ description : >
67
+ The level of access this user has to this StackScript. null
68
+ is no access, read_only allows viewing and deploying from the stackscript,
69
+ and read_write allows making revisions.
65
70
nodebalancer :
66
71
type : object
67
72
isArray : true
68
- description : Individual grants to NodeBalancers you own. Grants inlcude all, access, and delete
69
- all :
70
- type : Boolean
71
- value : false
72
- access :
73
- type : Boolean
74
- value : true
75
- delete :
76
- type : Boolean
77
- value : false
73
+ description : Individual grants this user has to NodeBalancers you own.
78
74
id :
79
75
type : Integer
80
- value : 123
76
+ value : 567
81
77
label :
82
78
type : String
83
79
value : linode123
80
+ permissions :
81
+ type : Enum
82
+ subtype : GrantLevel
83
+ value : read_only
84
+ description : >
85
+ The level of access this user has to this NodeBalancer. null is no access,
86
+ read_only allows viewing it and its configs and nodes, and read_write
87
+ allows changing the NodeBalancer and its configs and nodes, including
88
+ adding/removing configs and nodes.
84
89
linode :
85
90
type : object
86
91
isArray : true
87
- description : Individual grants to a Linode you own. Grants include all, access, resize, and delete
88
- all :
89
- type : Boolean
90
- value : false
91
- access :
92
- type : Boolean
93
- value : true
94
- resize :
95
- type : Boolean
96
- value : true
97
- delete :
98
- type : Boolean
99
- value : false
92
+ description : Individual grants this user has to a Linode you own.
100
93
id :
101
94
type : Integer
102
95
value : 123
96
+ description : The ID of the Linode this grant applies to.
103
97
label :
104
98
type : String
105
99
value : linode123
100
+ description : The label of the Linode this grant applies to.
101
+ permissions :
102
+ type : Enum
103
+ subtype : GrantLevel
104
+ value : read_write
105
+ description : >
106
+ The level of access this user has to this Linode. null is no access,
107
+ read_only gives the ability to view this Linode and its disks, and
108
+ read_write allows complete control over this Linode, including its
109
+ configs, disks, attached volumes, and power state.
106
110
domain :
107
111
type : object
108
112
isArray : true
109
- description : Individual grants to a Domain you own. Grants include all, access and delete
110
- all :
113
+ description : Individual grants a user has to a Domain you own.
114
+ id :
111
115
type : Boolean
112
- value : false
113
- access :
116
+ value : 432
117
+ description : The ID of the domain this grant applies to.
118
+ label :
114
119
type : Boolean
115
- value : true
116
- delete :
120
+ value : example.com
121
+ description : The domain name this grant applies to.
122
+ permissions :
123
+ type : Enum
124
+ subtype : GrantLevel
125
+ value : read_write
126
+ description : >
127
+ The level of access this user has to this Domain. null is no access,
128
+ read_only gives access to view this domain and its records, and read_write
129
+ gives complete control over the domain, including adding and removing
130
+ records.
131
+ volume :
132
+ type : object
133
+ isArray : true
134
+ description : Individual grants a user has to a Volume you own.
135
+ id :
117
136
type : Boolean
118
- value : false
137
+ value : 987
138
+ description : The ID of the volume this grant applies to.
139
+ label :
140
+ type : Boolean
141
+ value : example.com
142
+ description : The label of the volume this grant applies to.
143
+ permissions :
144
+ type : Enum
145
+ subtype : GrantLevel
146
+ value : null
147
+ description : >
148
+ The level of access this user has to this Volume. null is no access,
149
+ read_only gives access to view this volume, and read_write
150
+ gives full control over the volume, including allow it to be attached
151
+ and detached.
152
+ image :
153
+ type : object
154
+ isArray : true
155
+ description : Individual grants a user has to a Image you own.
119
156
id :
120
157
type : Boolean
121
- value : 123
158
+ value : 903
159
+ description : The ID of the image this grant applies to.
160
+ label :
161
+ type : Boolean
162
+ value : example.com
163
+ description : The label of the image this grant applies to.
164
+ permissions :
165
+ type : Enum
166
+ subtype : GrantLevel
167
+ value : read_write
168
+ description : >
169
+ The level of access this user has to this Image. null is no access,
170
+ read_only gives access to view this image, and read_write allows full
171
+ control over this image, including deploying linodes from it and
172
+ removing it from the account.
173
+ longview :
174
+ type : object
175
+ isArray : true
176
+ description : Individual grants a user has to a Longview Client you own.
177
+ id :
178
+ type : Boolean
179
+ value : 231
180
+ description : The ID of the longview client this grant applies to.
122
181
label :
123
182
type : Boolean
124
183
value : example.com
184
+ description : The label of the longview client this grant applies to.
185
+ permissions :
186
+ type : Enum
187
+ subtype : GrantLevel
188
+ value : read_write
189
+ description : >
190
+ The level of access this user has to this Longview Client. null is no access,
191
+ read_only gives access to view this client, including viewing its api key
192
+ that can be used to retrieve the stats it is tracking, and read_write
193
+ grants full access to the client, including the ability to remove it from
194
+ the account.
195
+ enums :
196
+ GrantLevel :
197
+ null : no access
198
+ read_only : >
199
+ access to GET endpoints related to this entity and its subobjects, events
200
+ related to it, and this entities appearance in listing endpoints.
201
+ read_write : >
202
+ access to all endpoints related to this entity, including POST, PUT, and
203
+ DELETE endpoints for this entity and its subobjects
0 commit comments