-
Notifications
You must be signed in to change notification settings - Fork 8
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
Gateway Visibility Control in Dev Portal #3378
Comments
Did a background search for the gateway visibility control based on the regions and came up with the following approach. Introduce a new property to the gateway environment configurations at the
Provide a way to do a gateway-role mapping via the Admin portal as well. The roles incorporated to each gateway environment (via the deployment.toml or at the Admin portal UI) can be used to do the gateway visibility control for the APIs. If the visibility is set at the deployment.toml, it will be shown under the environments section in the Admin portal and wise versa. Filter and show the gateway URLs in the Dev Portal based on the roles assigned for the logged-in user. |
Sub Tasks -
|
Came up with the following DB schema changes for the feature.
|
Working on the backend implementation for the feature atm. Firstly the visibility configuration will be handled via the deployment.toml. |
I have completed the visibility configurations set via the deployment.toml and working on the GW URL retrieval part at the Dev Portal. |
Solved the issue faced while retrieving the GW environments at the Dev Portal. Added a draft PR [1] with the current implementation changes. Testing the flows atm and refactoring/improving the code changes. Will be starting with the Admin UI changes as the next step. |
Problem
Currently, there is no way to restrict access to the gateways based on the gateway deployment region for the APIs in the Dev Portal.
That means, for a User A who belongs to the region A, should only see the gateway belongs to region A, and not the gateways from regions B and C.
Solution
There should be a visibility control mechanism for the gateways based on the roles, so that the roles can be assigned to the users in each region and when showing the gateway URLs for the APIs in the Dev Portal, the visibility control can be done based on the regions.
Affected Component
APIM
Version
APIM 4.5.0
The text was updated successfully, but these errors were encountered: