Skip to content

Commit

Permalink
Update scopes of APIs related to API resources in applications
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyamSanthosh committed Jan 29, 2024
1 parent 7368f0d commit 2e79a03
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,16 @@
<Scopes>internal_org_application_mgt_view</Scopes>
</Resource>

<!-- Application API resources Management API -->
<Resource context="(.*)/api/server/v1/applications/(.*)/authorized-apis(.*)" secured="true" http-method="POST, DELETE">
<Scopes>internal_application_mgt_update</Scopes>
</Resource>

<!-- Admin Application Management API -->
<Resource context="(.*)/api/server/v1/applications/(.*)/owner(.*)" secured="true" http-method="PUT">
<Scopes>internal_organization_admin</Scopes>
</Resource>

<!-- Application Management API -->
<Resource context="(.*)/api/server/v1/applications(.*)" secured="true" http-method="POST">
<Scopes>internal_application_mgt_create</Scopes>
Expand All @@ -787,10 +797,6 @@
<Scopes>internal_application_mgt_view</Scopes>
</Resource>

<!-- Admin Application Management API -->
<Resource context="(.*)/api/server/v1/applications/(.*)/owner(.*)" secured="true" http-method="PUT">
<Scopes>internal_organization_admin</Scopes>
</Resource>
<!-- Should this go to applications mgt API -->
<Resource context="(.*)/api/server/v1/organizations/(.*)/share" secured="true" http-method="POST">
<Scopes>internal_application_mgt_update</Scopes>
Expand Down

0 comments on commit 2e79a03

Please sign in to comment.