-
Notifications
You must be signed in to change notification settings - Fork 347
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
Console over-restrains allowed role names #1469
Comments
N.B. The line referenced is one example, but the same applies for all requests in that file (and possibly more broadly) |
I think we had discussions about constraining the character set for roles to the same rules that apply to topics. Reason being things such as:
Is there a specific reason to relax the requirements? |
So at the moment you can use rpk to create a role called |
The API is cloud exclusive and RPK uses that API as well. In RP Cloud no one can create a role with a different convention because everything has to go through console |
We may be talking cross purposes here, not sure - https://github.com/redpanda-data/console/blob/master/frontend/src/state/supportedFeatures.ts#L54-L56 |
Currently with console you can also create a topic containing |
In Console we apply this filter:
console/proto/redpanda/api/console/v1alpha1/security.proto
Line 80 in c99b26e
However Redpanda itself isn't so strict:
https://github.com/redpanda-data/redpanda/blob/dev/src/v/redpanda/admin/security.cc#L293
vvv
https://github.com/redpanda-data/redpanda/blob/0c0a3db581140bb2b8e0d6624cb4eabb697449d7/src/v/security/scram_algorithm.cc#L362
vvv
https://github.com/redpanda-data/redpanda/blob/0c0a3db581140bb2b8e0d6624cb4eabb697449d7/src/v/security/scram_algorithm.cc#L193
vvv
https://github.com/redpanda-data/redpanda/blob/0c0a3db581140bb2b8e0d6624cb4eabb697449d7/src/v/security/scram_algorithm.cc#L34-L45
Redpanda's implementation seems inkeeping with others. Notably, Console doesn't allow
.
in a RoleThe text was updated successfully, but these errors were encountered: