Skip to content
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

Publisher User is able to create API with AI #3746

Open
HussainLatiff opened this issue Feb 28, 2025 · 0 comments
Open

Publisher User is able to create API with AI #3746

HussainLatiff opened this issue Feb 28, 2025 · 0 comments

Comments

@HussainLatiff
Copy link

HussainLatiff commented Feb 28, 2025

Description

When logging in as a User with "Publisher" role (Internal/publisher), the User is able to Create API with AI

Image

Steps to Reproduce

  1. First Set Up WSO2 Identity Server as a Federated Authenticator.
  2. Next Create a user in the IAM console, in this example is Publisher User and then create a role called Publisher and assign the publisher role to the publisher user. (Make sure to only assign the Publisher role)
    Image
  3. Make sure to Set up WSO2 APIM and when configuring the Identity Providers make sure to map these roles.
    Image
  4. Finally open publisher portal, and Log in as the Publisher User. And now we can still view create API with AI button.
    Image
  5. Click on "Create API with AI" button
    Image

Note

When Logging in as the creator only user the correct options are provided, to create API and create API with AI as shown below
Image

When Logging in as both creator and Publisher we get the correct options of both create API and create with AI
Image

Therefore, this is likely an Issue with the Publisher role being able to create an API with AI

Version

4.5.0 post beta

Environment Details (with versions)

OS: Ubuntu 22.0
APIM Browser: FireFox
IS Version: 7.1
IS Browser: Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants