|
2966 | 2966 | } |
2967 | 2967 | } |
2968 | 2968 | }, |
| 2969 | + "GetUserPermissionsResponseExample": { |
| 2970 | + "value": { |
| 2971 | + "permissions": [ |
| 2972 | + "read:my_org:permissions", |
| 2973 | + "read:my_org:configuration", |
| 2974 | + "update:my_org:identity_providers" |
| 2975 | + ] |
| 2976 | + } |
| 2977 | + }, |
2969 | 2978 | "GetAllowedApisResponseExample": { |
2970 | 2979 | "value": { |
2971 | 2980 | "apis": [ |
|
3314 | 3323 | "pattern": "^created_at:(1|-1)$", |
3315 | 3324 | "default": "created_at:-1" |
3316 | 3325 | } |
| 3326 | + }, |
| 3327 | + "UserPermissionsRequestQueryParameter": { |
| 3328 | + "in": "query", |
| 3329 | + "name": "permissions", |
| 3330 | + "required": true, |
| 3331 | + "description": "Comma-separated list of permissions to confirm the user's access.", |
| 3332 | + "schema": { |
| 3333 | + "type": "string", |
| 3334 | + "minLength": 1, |
| 3335 | + "maxLength": 1000 |
| 3336 | + } |
3317 | 3337 | } |
3318 | 3338 | }, |
3319 | 3339 | "requestBodies": { |
|
4364 | 4384 | } |
4365 | 4385 | } |
4366 | 4386 | }, |
| 4387 | + "GetUserPermissionsResponse": { |
| 4388 | + "description": "User permissions successfully retrieved.", |
| 4389 | + "headers": { |
| 4390 | + "X-RateLimit-Limit": { |
| 4391 | + "$ref": "#/components/headers/X-RateLimit-Limit" |
| 4392 | + }, |
| 4393 | + "X-RateLimit-Remaining": { |
| 4394 | + "$ref": "#/components/headers/X-RateLimit-Remaining" |
| 4395 | + }, |
| 4396 | + "X-RateLimit-Reset": { |
| 4397 | + "$ref": "#/components/headers/X-RateLimit-Reset" |
| 4398 | + }, |
| 4399 | + "Retry-After": { |
| 4400 | + "$ref": "#/components/headers/Retry-After" |
| 4401 | + }, |
| 4402 | + "X-Auth0-Error-Kind": { |
| 4403 | + "$ref": "#/components/headers/X-Auth0-Error-Kind" |
| 4404 | + } |
| 4405 | + }, |
| 4406 | + "content": { |
| 4407 | + "application/json": { |
| 4408 | + "schema": { |
| 4409 | + "$ref": "#/components/schemas/GetUserPermissionsResponseContent" |
| 4410 | + }, |
| 4411 | + "examples": { |
| 4412 | + "getUserPermissionsResponseExample": { |
| 4413 | + "$ref": "#/components/examples/GetUserPermissionsResponseExample" |
| 4414 | + } |
| 4415 | + } |
| 4416 | + } |
| 4417 | + } |
| 4418 | + }, |
4367 | 4419 | "GetAllowedApisResponse": { |
4368 | 4420 | "description": "Allowed APIs successfully retrieved.", |
4369 | 4421 | "headers": { |
|
5355 | 5407 | "GetIdpConfigurationResponseContent": { |
5356 | 5408 | "$ref": "#/components/schemas/IdentityProvidersConfig" |
5357 | 5409 | }, |
| 5410 | + "GetUserPermissionsResponseContent": { |
| 5411 | + "type": "object", |
| 5412 | + "additionalProperties": false, |
| 5413 | + "properties": { |
| 5414 | + "permissions": { |
| 5415 | + "type": "array", |
| 5416 | + "items": { |
| 5417 | + "type": "string" |
| 5418 | + } |
| 5419 | + } |
| 5420 | + }, |
| 5421 | + "required": [ |
| 5422 | + "permissions" |
| 5423 | + ] |
| 5424 | + }, |
5358 | 5425 | "GetAllowedApisResponseContent": { |
5359 | 5426 | "type": "object", |
5360 | 5427 | "additionalProperties": false, |
|
7183 | 7250 | "readOnly": true, |
7184 | 7251 | "pattern": "^org_[A-Za-z0-9]{16}$" |
7185 | 7252 | }, |
7186 | | - "OrgDetailsThirdPartyClientAccessEnum": { |
7187 | | - "type": "string", |
7188 | | - "enum": [ |
7189 | | - "allow", |
7190 | | - "block" |
7191 | | - ], |
7192 | | - "description": "Whether third-party clients are allowed to access this organization." |
7193 | | - }, |
7194 | 7253 | "InvitationId": { |
7195 | 7254 | "type": "string", |
7196 | 7255 | "description": "The id of the member invitation", |
|
7316 | 7375 | "verification_host" |
7317 | 7376 | ] |
7318 | 7377 | }, |
| 7378 | + "OrgThirdPartyClientAccessEnum": { |
| 7379 | + "type": "string", |
| 7380 | + "description": "A valid third-party client access value", |
| 7381 | + "enum": [ |
| 7382 | + "allow", |
| 7383 | + "block" |
| 7384 | + ] |
| 7385 | + }, |
7319 | 7386 | "BaseUserAttributeMapItem": { |
7320 | 7387 | "type": "object", |
7321 | 7388 | "properties": { |
|
7888 | 7955 | "create:my_org:client_grants": "Create client grants for client in organization", |
7889 | 7956 | "create:my_org:clients": "Create API clients for organization", |
7890 | 7957 | "read:my_org:clients": "Read API clients for organization", |
7891 | | - "delete:my_org:clients": "Delete API clients for organization" |
| 7958 | + "delete:my_org:clients": "Delete API clients for organization", |
| 7959 | + "read:my_org:permissions": "Read permissions for a user" |
7892 | 7960 | } |
7893 | 7961 | } |
7894 | 7962 | } |
|
7935 | 8003 | "create:my_org:client_grants": "Create client grants for client in organization", |
7936 | 8004 | "create:my_org:clients": "Create API clients for organization", |
7937 | 8005 | "read:my_org:clients": "Read API clients for organization", |
7938 | | - "delete:my_org:clients": "Delete API clients for organization" |
| 8006 | + "delete:my_org:clients": "Delete API clients for organization", |
| 8007 | + "read:my_org:permissions": "Read permissions for a user" |
7939 | 8008 | } |
7940 | 8009 | } |
7941 | 8010 | } |
|
0 commit comments