Skip to content

Possible UI improvements for read-only view #4278

@Piumal1999

Description

@Piumal1999

Current Limitation

The read only user have the following scopes - apim:api_view and apim:publisher_settings. WSO2 API-M provides a pre-defined role named internal/observer, which is used to group all the read-only users. In read only mode, the publisher portal functionalities should be disabled.

Steps to create a read only user: https://apim.docs.wso2.com/en/latest/manage-apis/design/api-security/authorization/publisher-portal-in-read-only-mode/#step-1-create-a-read-only-user

Suggested Improvement

Here are some minor UI/UX improvements that can be done to the read-only user view.

  1. Disable the description button on deployments page
Image

  1. Disable the add label button in basic info page
Image

  1. Disable the audience validation config in runtime configurations page
Image

  1. Disable the delete button in MCP tools page
Image



  1. Fix the infinite loading issue and empty API key in Tryout page. Need a better way to imply that the user doesn't have the required permission
Screen.Recording.2025-09-16.at.18.18.47.mov
  1. In scopes page, show that the option is disabled. Currently it looks clickable and nothing happens when clicking
Screen.Recording.2025-09-16.at.18.15.31.mov
  1. The global policy page looks empty. Need a better way to show that the user doesn't have the required permission.
Image
  1. Disable the drag and drop feature in API policy page. Read only user should be able to view the policies, but not to use the drag and drop functionality.
Image

Version

4.6.0

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions