product-apim
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
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:
- Log in to the Publisher portal as the admin user and create two or more APIs.
- Now go to the API Products tab and the button to create an API Product will be visible.
- Create a user with the Internal/publisher role
- 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.
- Again log in using the admin user and create an API Product.
- 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.
Affected Product Version:
WUM wso2am-3.1.0+1626715309295.full
Environment details (with versions):
- OS: Ubuntu 20.04.2 LTS
- Browser: Chrome
This is not reproducible in the pack built from the public branch.