Skip to content

Commit

Permalink
Merge pull request #6244 from DilshanSenarath/issue-21146
Browse files Browse the repository at this point in the history
Register the application templates API under the application view scope
  • Loading branch information
DilshanSenarath authored Jan 2, 2025
2 parents 36772ed + 46173bf commit b87a7f9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
<Scope name="internal_governance_view"/>
<Scope name="internal_userstore_view"/>
<Scope name="internal_shared_application_view"/>
<Scope name="internal_extensions_view"/>
<Scope name="internal_secret_mgt_view"/>
</Read>
</Scopes>
Expand Down Expand Up @@ -783,7 +782,6 @@
<Scope name="internal_org_role_mgt_view"/>
<Scope name="internal_org_userstore_view"/>
<Scope name="internal_org_idp_view"/>
<Scope name="internal_org_extensions_view"/>
</Read>
</Scopes>
</APIResourceCollection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
<Scope name="internal_governance_view"/>
<Scope name="internal_userstore_view"/>
<Scope name="internal_shared_application_view"/>
<Scope name="internal_extensions_view"/>
<Scope name="internal_secret_mgt_view"/>
</Read>
</Scopes>
Expand Down Expand Up @@ -824,7 +823,6 @@
<Scope name="internal_org_role_mgt_view"/>
<Scope name="internal_org_userstore_view"/>
<Scope name="internal_org_idp_view"/>
<Scope name="internal_org_extensions_view"/>
</Read>
</Scopes>
</APIResourceCollection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,11 +1111,17 @@
</Resource>

<!-- [Organization] Extension Management API -->
<Resource context="(.*)/o/api/server/v1/extensions/applications(.*)" secured="true" http-method="GET">
<Scopes>internal_org_application_mgt_view</Scopes>
</Resource>
<Resource context="(.*)/o/api/server/v1/extensions(.*)" secured="true" http-method="GET">
<Scopes>internal_org_extensions_view</Scopes>
</Resource>

<!-- Extension Management API -->
<Resource context="(.*)/api/server/v1/extensions/applications(.*)" secured="true" http-method="GET">
<Scopes>internal_application_mgt_view</Scopes>
</Resource>
<Resource context="(.*)/api/server/v1/extensions(.*)" secured="true" http-method="GET">
<Scopes>internal_extensions_view</Scopes>
</Resource>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1175,11 +1175,17 @@
</Resource>

<!-- [Organization] Extension Management API -->
<Resource context="(.*)/o/api/server/v1/extensions/applications(.*)" secured="true" http-method="GET">
<Scopes>internal_org_application_mgt_view</Scopes>
</Resource>
<Resource context="(.*)/o/api/server/v1/extensions(.*)" secured="true" http-method="GET">
<Scopes>internal_org_extensions_view</Scopes>
</Resource>

<!-- Extension Management API -->
<Resource context="(.*)/api/server/v1/extensions/applications(.*)" secured="true" http-method="GET">
<Scopes>internal_application_mgt_view</Scopes>
</Resource>
<Resource context="(.*)/api/server/v1/extensions(.*)" secured="true" http-method="GET">
<Scopes>internal_extensions_view</Scopes>
</Resource>
Expand Down

0 comments on commit b87a7f9

Please sign in to comment.