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

Save Button is Active When Adding/Editing Gateway Environment in Admin Portal with Invalid Roles #3550

Closed
AqeelMuhammad opened this issue Jan 27, 2025 · 0 comments · Fixed by wso2/apim-apps#863

Comments

@AqeelMuhammad
Copy link

Description

When adding or editing a gateway environment in the admin portal, if invalid roles are added, the Save button remains enabled and allows the user to click it, even with invalid roles.

Steps to Reproduce

  1. Go to https://localhost:9443/admin/settings/environments
  2. Click on "Add Gateway Environment" or edit an existing one.
  3. Fill in the required details and select the permissions as "Allow for role(s)" or "Deny for role(s)".
  4. Add some invalid roles like "adm".
  5. Observe that the Save button remains active and can be clicked without any error message.

Expected Behavior:

The Save button should be disabled or an error message should be displayed when invalid roles are added, preventing the user from saving the configuration.

Actual Behavior:

The Save button is enabled and allows saving the configuration.

Other Places:

The same behavior can be observed while adding a key manager in Admin Portal -> Key Managers.

Image

Version

4.5.0-M1

Environment Details (with versions)

No response

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

Successfully merging a pull request may close this issue.

2 participants