api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

UI bugs in publisher portal when read-only user logged in

Open BiyonFernando opened this issue 1 year ago • 1 comments

Description

In read-only mode the following UI bugs are identified in publisher portal

  1. API Product menu item in nav bar doesn't appear in read-only mode image

  2. In try-out section of publisher portal the API resources are not loaded. The UI is stuck with a loading spinner. image

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

  1. API Product menu item in nav bar doesn't appear in read-only mode

step 4 - Click the hamburger icon on left

  1. 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

BiyonFernando avatar Oct 01 '24 08:10 BiyonFernando

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.

image

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.

ashera96 avatar Oct 02 '24 10:10 ashera96