You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a requirement to create roles with role name as UUID. But there is a hardcoded front end regex validation for role names (^[a-zA-Z][a-zA-Z0-9-_. ]+$) when creating role from the console application. This validates whether the role name starts with an alphabetic letter.
From the other hand, There is no such validation for role name, when creating Roles using role management REST API [1]
Description
There is a requirement to create roles with role name as UUID. But there is a hardcoded front end regex validation for role names
(^[a-zA-Z][a-zA-Z0-9-_. ]+$)
when creating role from the console application. This validates whether the role name starts with an alphabetic letter.From the other hand, There is no such validation for role name, when creating Roles using role management REST API [1]
[1] - https://is.docs.wso2.com/en/latest/apis/roles-v2-rest-api/#tag/Roles-Endpoint/operation/createRoleV2
Steps to Reproduce
From console create a role with role name starts with a number (UUID). It fails the validation and error message will be appeared.
Version
IS 7.0.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: