Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register the application templates API under the application view scope #6244

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading