wso2 / wso2/api-platform

[Bug][AI Workspace]: Gen AI APP users with consumer roles cannot list API keys available for APP LLM Proxies.

Open
#3,273 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Aspect/Configuration Aspect/UX Severity/Critical Type/Bug
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

AI Workspace

Please select the aspect the issue is related to

Aspect/UX (User experience, flows, usability, clarity), Aspect/Configuration (Config files, settings, env vars, defaults)

Description

When a user with the default Consumer role creates a Gen AI application from the AI Workspace and tries to add an LLM proxy to it, the available proxies are listed, but the API keys associated with the selected proxy are not displayed. Since users with this role cannot generate their own API keys, they are left in a blocked state and cannot proceed with configuring the LLM proxy.

Steps to Reproduce
  1. Create an LLM provider as a Developer user.
  2. Create an LLM proxy by connecting it to the LLM provider as a Developer user.
  3. Log in to the AI Workspace as a user with the Consumer role.
  4. Create a Gen AI application.
  5. Try to add an LLM proxy to the Gen AI application.
  6. Observe that the API key list is empty.
Image
Severity Level of the Issue

Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)

Environment Details (with versions)

1.0.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the AI Workspace flow for adding an LLM proxy to a Gen AI application, then trace how the selected proxy's API keys are listed for Consumer users. Reproduce the empty-list behavior using the steps above and verify that associated keys appear and the configuration can proceed without granting consumers permission to create keys.

Written by the indexing model from the issue text.

Assessment

Domain
ai, api, authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.