schemas/orgMemberPatch.json in losant_rest-1.6.0 vs schemas/orgMemberPatch.json in losant_rest-1.7.0
- old
+ new
@@ -9,15 +9,72 @@
"role": {
"type": "string",
"enum": [
"admin",
"edit",
- "view"
+ "collaborate",
+ "view",
+ "none"
]
+ },
+ "applicationRoles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "pattern": "^[A-Fa-f\\d]{24}$"
+ },
+ "role": {
+ "type": "string",
+ "enum": [
+ "admin",
+ "edit",
+ "collaborate",
+ "view",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "resourceId",
+ "role"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 1000
+ },
+ "dashboardRoles": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "pattern": "^[A-Fa-f\\d]{24}$"
+ },
+ "role": {
+ "type": "string",
+ "enum": [
+ "admin",
+ "edit",
+ "collaborate",
+ "view",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "resourceId",
+ "role"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 1000
}
},
"additionalProperties": false,
"required": [
- "userId",
- "role"
+ "userId"
]
}
\ No newline at end of file