product-apim icon indicating copy to clipboard operation
product-apim copied to clipboard

[3.1.0] The users with the Internal/publisher role can't see the button to create an API Product unless there is at least one API Product already created

Open wasuradananjith opened this issue 3 years ago • 1 comments

Description:

The button to create an API Product is only visible to the users who have the admin role. If there is at least one API Product created already then the button will be visible to the users who have the Internal/publisher role as well.

Steps to reproduce:

  1. Log in to the Publisher portal as the admin user and create two or more APIs.
  2. Now go to the API Products tab and the button to create an API Product will be visible. image
  3. Create a user with the Internal/publisher role
  4. Log in to the Publisher portal using that user and go to the API Products tab. The button to create an API Product will not be visible. image
  5. Again log in using the admin user and create an API Product.
  6. Log in as the user with the Internal/publisher role and go to the API Products tab. Now, the button to create an API Product will be visible. image

Affected Product Version:

WUM wso2am-3.1.0+1626715309295.full

Environment details (with versions):

  • OS: Ubuntu 20.04.2 LTS
  • Browser: Chrome

wasuradananjith avatar Jul 22 '21 09:07 wasuradananjith

This is not reproducible in the pack built from the public branch.

tharikaGitHub avatar Oct 25 '22 14:10 tharikaGitHub