UI bugs in publisher portal when read-only user logged in
Description
In read-only mode the following UI bugs are identified in publisher portal
-
API Product menu item in nav bar doesn't appear in read-only mode
-
In try-out section of publisher portal the API resources are not loaded. The UI is stuck with a loading spinner.
Steps to Reproduce
step 1 - log into carbon portal and create a user with only internal/observer and internal/everyone (read-only user) step 2 - log into publisher portal as admin, create pizzashack API and log out step 3 - log into publisher portal with read-only user
- API Product menu item in nav bar doesn't appear in read-only mode
step 4 - Click the hamburger icon on left
- In try-out section of publisher portal the API resources are not loaded. The UI is stuck with a loading spinner.
step 4 - click on pizzashack API and click try-out tab in the left menu
Affected Component
APIM
Version
4.4.0-alpha
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
When logged into the Publisher portal with a user that has Internal/creator role, the api-products page crashes if there are no available API Products.
Also, in a scenario where there are API Products, when clicked on Create an API Product button, the user is getting redirected to the APIs tab. Ideally that button should be disabled for users who does not have the necessary privileges to create an API product.