Unable to create "Single User" level API key, always defaults to "All Users"

No this is not a select-kit component. The issue is that we check only on description being present not on username. The userMode (single/all) is only a client side value, so when the model is validated server side, all it knows is that we requested a key and that we provided a user or not.

That should make it better, will ask david to review:
https://github.com/discourse/discourse/pull/9000

7 Likes