-
Notifications
You must be signed in to change notification settings - Fork 542
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
can not open consumer with numbers as name #2196
Comments
Hi, @hozaifaaoud, I checked this situation and reproduce this issue. It's occurred because APISIX support consumer name start with number, but APISIX-Dashboard does't support. Does the APISIX-Dashboard need to support consumer that start with number ? @juzhiyuan @nic-chen @starsz Any suggestions? |
we should keep the same with APISIX. |
@zaunist Please see https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L693 , may need to keep the regex the same as apisix. |
Fine,I am glad to make contribution for this issue. |
Issue description
The issue is that you can add a consumer through admin api and his name is 12345.
and if you go to the dashboard you will not be able to change any thing in this consumer configuration.
Here is a created user and I need to change something in its configuration
Expected behavior
//
How to Reproduce
//
Screenshots
No response
Environment
apisix version
): 2.5uname -a
): linux ubuntunginx -V
oropenresty -V
): openresty/1.19.9.1etcd --version
): 3.4.13Additional context
//
The text was updated successfully, but these errors were encountered: