Revision 5e12acfe lib/rapi/rlib2.py
b/lib/rapi/rlib2.py | ||
---|---|---|
1226 | 1226 |
"""/2/instances/[instance_name]/console resource. |
1227 | 1227 |
|
1228 | 1228 |
""" |
1229 |
GET_ACCESS = [rapi.RAPI_ACCESS_WRITE] |
|
1229 |
GET_ACCESS = [rapi.RAPI_ACCESS_WRITE, rapi.RAPI_ACCESS_READ]
|
|
1230 | 1230 |
GET_OPCODE = opcodes.OpInstanceConsole |
1231 | 1231 |
|
1232 | 1232 |
def GET(self): |
... | ... | |
1278 | 1278 |
|
1279 | 1279 |
""" |
1280 | 1280 |
# Results might contain sensitive information |
1281 |
GET_ACCESS = [rapi.RAPI_ACCESS_WRITE] |
|
1281 |
GET_ACCESS = [rapi.RAPI_ACCESS_WRITE, rapi.RAPI_ACCESS_READ] |
|
1282 |
PUT_ACCESS = GET_ACCESS |
|
1282 | 1283 |
GET_OPCODE = opcodes.OpQuery |
1283 | 1284 |
PUT_OPCODE = opcodes.OpQuery |
1284 | 1285 |
|
Also available in: Unified diff