Skip to content

Commit fbdfdd4

Browse files
authored
Merge pull request #5675 from AnuradhaSK/org-app-permissions
Update permissions of org level application mgt
2 parents fa1c62d + c2c920f commit fbdfdd4

File tree

2 files changed

+98
-14
lines changed

2 files changed

+98
-14
lines changed

en/identity-server/7.2.0/docs/apis/organization-apis/restapis/org-application-mgt.yaml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,18 @@ paths:
610610
operationId: addAuthorizedAPI
611611
description: |
612612
This API provides the capability to authorized an API to the application. <br>
613-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
613+
614+
<b>Scope(Permission) required:</b>
615+
- `internal_org_application_mgt_update`
616+
617+
<b>➕ Additional Scopes</b>
618+
619+
To authorize organization APIs and business APIs, you also need the following additional scopes:
620+
621+
| Action | Scope |
622+
|---------|--------|
623+
| Authorize organization API | `internal_org_application_internal_api_update` |
624+
| Authorize business APIs | `internal_org_application_business_api_update` |
614625
parameters:
615626
- name: applicationId
616627
in: path
@@ -667,7 +678,18 @@ paths:
667678
operationId: patchAuthorizedAPI
668679
description: |
669680
This API provides the capability to update an authorized API of the application. <br>
670-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
681+
<b>Scope(Permission) required:</b>
682+
- `internal_org_application_mgt_update`
683+
684+
685+
<b>➕ Additional Scopes</b>
686+
687+
To update authorized organization APIs and business APIs, you also need the following additional scopes:
688+
689+
| Action | Scope |
690+
|---------|--------|
691+
| Update authorized organization API | `internal_org_application_internal_api_update` |
692+
| Update authorized business APIs | `internal_org_application_business_api_update` |
671693
parameters:
672694
- name: applicationId
673695
in: path
@@ -730,7 +752,17 @@ paths:
730752
operationId: deleteAuthorizedAPI
731753
description: |
732754
This API provides the capability to delete an authorized API of the application. <br>
733-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
755+
<b>Scope(Permission) required:</b>
756+
- `internal_org_application_mgt_update`
757+
758+
<b>➕ Additional Scopes</b>
759+
760+
To remove authorized organization APIs and business APIs, you also need the following additional scopes:
761+
762+
| Action | Scope |
763+
|---------|--------|
764+
| Remove authorized organization API | `internal_org_application_internal_api_update` |
765+
| Remove authorized business APIs | `internal_org_application_business_api_update` |
734766
parameters:
735767
- name: applicationId
736768
in: path
@@ -824,9 +856,19 @@ paths:
824856
- Inbound Protocols - OAuth / OIDC
825857
summary: |
826858
Retrieve OIDC authentication protocol parameters.
827-
description: >
828-
This API provides the capability to retrieve OIDC authentication protocol parameters of an application. <br>
829-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_view`
859+
description: |
860+
This API provides the capability to retrieve OIDC authentication protocol parameters of an application.
861+
862+
<b>Scope(Permission) required:</b>
863+
- `internal_org_application_mgt_view`
864+
865+
<b>➕ Additional Scopes</b>
866+
867+
To view the client secret, you also need the following additional scope:
868+
869+
| Action | Scope |
870+
|---------|--------|
871+
| View client secret | `internal_org_application_mgt_client_secret_view` |
830872
operationId: getInboundOAuthConfiguration
831873
parameters:
832874
- name: applicationId
@@ -1129,7 +1171,7 @@ paths:
11291171
Regenerate the OAuth2/OIDC client secret.
11301172
description: |
11311173
This API regenerates the OAuth2/OIDC client secret. <br>
1132-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_create`
1174+
<b>Scope(Permission) required:</b> `internal_org_application_mgt_client_secret_create`
11331175
operationId: regenerateOAuthClientSecret
11341176
parameters:
11351177
- name: applicationId

en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,18 @@ paths:
610610
operationId: addAuthorizedAPI
611611
description: |
612612
This API provides the capability to authorized an API to the application. <br>
613-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
613+
614+
<b>Scope(Permission) required:</b>
615+
- `internal_org_application_mgt_update`
616+
617+
<b>➕ Additional Scopes</b>
618+
619+
To authorize organization APIs and business APIs, you also need the following additional scopes:
620+
621+
| Action | Scope |
622+
|---------|--------|
623+
| Authorize organization API | `internal_org_application_internal_api_update` |
624+
| Authorize business APIs | `internal_org_application_business_api_update` |
614625
parameters:
615626
- name: applicationId
616627
in: path
@@ -667,7 +678,18 @@ paths:
667678
operationId: patchAuthorizedAPI
668679
description: |
669680
This API provides the capability to update an authorized API of the application. <br>
670-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
681+
<b>Scope(Permission) required:</b>
682+
- `internal_org_application_mgt_update`
683+
684+
685+
<b>➕ Additional Scopes</b>
686+
687+
To update authorized organization APIs and business APIs, you also need the following additional scopes:
688+
689+
| Action | Scope |
690+
|---------|--------|
691+
| Update authorized organization API | `internal_org_application_internal_api_update` |
692+
| Update authorized business APIs | `internal_org_application_business_api_update` |
671693
parameters:
672694
- name: applicationId
673695
in: path
@@ -730,7 +752,17 @@ paths:
730752
operationId: deleteAuthorizedAPI
731753
description: |
732754
This API provides the capability to delete an authorized API of the application. <br>
733-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_update`
755+
<b>Scope(Permission) required:</b>
756+
- `internal_org_application_mgt_update`
757+
758+
<b>➕ Additional Scopes</b>
759+
760+
To remove authorized organization APIs and business APIs, you also need the following additional scopes:
761+
762+
| Action | Scope |
763+
|---------|--------|
764+
| Remove authorized organization API | `internal_org_application_internal_api_update` |
765+
| Remove authorized business APIs | `internal_org_application_business_api_update` |
734766
parameters:
735767
- name: applicationId
736768
in: path
@@ -824,9 +856,19 @@ paths:
824856
- Inbound Protocols - OAuth / OIDC
825857
summary: |
826858
Retrieve OIDC authentication protocol parameters.
827-
description: >
828-
This API provides the capability to retrieve OIDC authentication protocol parameters of an application. <br>
829-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_view`
859+
description: |
860+
This API provides the capability to retrieve OIDC authentication protocol parameters of an application.
861+
862+
<b>Scope(Permission) required:</b>
863+
- `internal_org_application_mgt_view`
864+
865+
<b>➕ Additional Scopes</b>
866+
867+
To view the client secret, you also need the following additional scope:
868+
869+
| Action | Scope |
870+
|---------|--------|
871+
| View client secret | `internal_org_application_mgt_client_secret_view` |
830872
operationId: getInboundOAuthConfiguration
831873
parameters:
832874
- name: applicationId
@@ -1129,7 +1171,7 @@ paths:
11291171
Regenerate the OAuth2/OIDC client secret.
11301172
description: |
11311173
This API regenerates the OAuth2/OIDC client secret. <br>
1132-
<b>Scope(Permission) required:</b> `internal_org_application_mgt_create`
1174+
<b>Scope(Permission) required:</b> `internal_org_application_mgt_client_secret_create`
11331175
operationId: regenerateOAuthClientSecret
11341176
parameters:
11351177
- name: applicationId

0 commit comments

Comments
 (0)