|
178 | 178 | "type": "string"
|
179 | 179 | },
|
180 | 180 | "roles": {
|
| 181 | + "description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**", |
| 182 | + "example": [ |
| 183 | + "readAnyDatabase" |
| 184 | + ], |
181 | 185 | "items": {
|
182 | 186 | "$ref": "#/components/schemas/user.role"
|
183 | 187 | },
|
|
548 | 552 | "type": "string"
|
549 | 553 | },
|
550 | 554 | "roles": {
|
| 555 | + "description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**", |
| 556 | + "example": [ |
| 557 | + "readAnyDatabase" |
| 558 | + ], |
551 | 559 | "items": {
|
552 | 560 | "$ref": "#/components/schemas/user.role"
|
553 | 561 | },
|
|
810 | 818 | "type": "string"
|
811 | 819 | },
|
812 | 820 | "roles": {
|
| 821 | + "description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**", |
| 822 | + "example": [ |
| 823 | + "readAnyDatabase" |
| 824 | + ], |
813 | 825 | "items": {
|
814 | 826 | "$ref": "#/components/schemas/user.role"
|
815 | 827 | },
|
|
841 | 853 | "type": "integer"
|
842 | 854 | },
|
843 | 855 | "roles": {
|
| 856 | + "description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**", |
| 857 | + "example": [ |
| 858 | + "readAnyDatabase" |
| 859 | + ], |
844 | 860 | "items": {
|
845 | 861 | "$ref": "#/components/schemas/user.role"
|
846 | 862 | },
|
|
971 | 987 | "type": "integer"
|
972 | 988 | },
|
973 | 989 | "roles": {
|
| 990 | + "description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**", |
| 991 | + "example": [ |
| 992 | + "readAnyDatabase" |
| 993 | + ], |
974 | 994 | "items": {
|
975 | 995 | "$ref": "#/components/schemas/user.role"
|
976 | 996 | },
|
|
1032 | 1052 | "type": "object"
|
1033 | 1053 | },
|
1034 | 1054 | "user.role": {
|
1035 |
| - "description": "The user role for the instance.", |
1036 |
| - "enum": [ |
1037 |
| - "readAnyDatabase", |
1038 |
| - "readWriteAnyDatabase", |
1039 |
| - "stackitAdmin" |
1040 |
| - ], |
1041 |
| - "example": "readAnyDatabase", |
| 1055 | + "description": "The user role for the instance. The valid values for this attribute are: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'.", |
1042 | 1056 | "type": "string"
|
1043 | 1057 | }
|
1044 | 1058 | }
|
|
0 commit comments