{ "id":"/axapi/v3/rba", "type":"object", "node-type":"scalar", "title":"rba", "partition-visibility":"shared", "auto-created-object":1, "description":"Role Based Access configuration", "properties":{ "action":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable RBA; 'disable': Disable RBA; ", "enum":[ "enable", "disable" ], "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "role-list":{ "type":"array", "minItems":1, "items":{ "type":"role" }, "uniqueItems":true, "$ref":"/axapi/v3/rba/role/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "description":"Name for the RBA role", "optional":false }, "default-privilege":{ "type":"string", "format":"enum", "default":"no-access", "partition-visibility":"shared", "description":"'no-access': no-access; 'read': read; 'write': write; ", "enum":[ "no-access", "read", "write" ], "optional":true }, "partition-only":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "modify-not-allowed":1, "description":"Partition RBA Role", "optional":true }, "rule-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "object":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Lineage of object class for permitted operation" }, "operation":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'no-access': no-access; 'read': read; 'oper': oper; 'write': write; ", "enum":[ "no-access", "read", "oper", "write" ] } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "name" ] } ] }, "user-list":{ "type":"array", "minItems":1, "items":{ "type":"user" }, "uniqueItems":true, "$ref":"/axapi/v3/rba/user/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "description":"Name of a user account", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "partition-list":{ "type":"array", "minItems":1, "items":{ "type":"partition" }, "uniqueItems":true, "$ref":"/axapi/v3/rba/user/{name}/partition/{partition-name}", "array":[ { "properties":{ "partition-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":14, "partition-visibility":"shared", "$ref-list":["/axapi/v3/partition", "/axapi/v3/service-partition"], "description":"partition name", "optional":false }, "role-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "role":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "$ref":"/axapi/v3/rba/role", "description":"Role in a given partition" } } } ] }, "rule-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "object":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Lineage of object class for permitted operation" }, "operation":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'no-access': no-access; 'read': read; 'oper': oper; 'write': write; ", "enum":[ "no-access", "read", "oper", "write" ] } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "partition-name" ] } ] } }, "required":[ "name" ] } ] }, "group-list":{ "type":"array", "minItems":1, "items":{ "type":"group" }, "uniqueItems":true, "$ref":"/axapi/v3/rba/group/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "description":"Name of a RBA group", "optional":false }, "user-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "user":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "description":"Users in the group" } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "partition-list":{ "type":"array", "minItems":1, "items":{ "type":"partition" }, "uniqueItems":true, "$ref":"/axapi/v3/rba/group/{name}/partition/{partition-name}", "array":[ { "properties":{ "partition-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":14, "partition-visibility":"shared", "$ref-list":["/axapi/v3/partition", "/axapi/v3/service-partition"], "description":"partition name", "optional":false }, "role-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "role":{ "type":"string", "format":"string", "minLength":1, "maxLength":32, "partition-visibility":"shared", "$ref":"/axapi/v3/rba/role", "description":"Role in a given partition" } } } ] }, "rule-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "object":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Lineage of object class for permitted operation" }, "operation":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'no-access': no-access; 'read': read; 'oper': oper; 'write': write; ", "enum":[ "no-access", "read", "oper", "write" ] } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "partition-name" ] } ] } }, "required":[ "name" ] } ] } } }