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

Cannot create new user from shvspy #14

Open
1 of 2 tasks
fvacek opened this issue Nov 6, 2024 · 3 comments
Open
1 of 2 tasks

Cannot create new user from shvspy #14

fvacek opened this issue Nov 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@fvacek
Copy link
Contributor

fvacek commented Nov 6, 2024

  • fix edit user
  • fix edit roles
@fvacek fvacek added the bug Something isn't working label Nov 6, 2024
@fvacek
Copy link
Contributor Author

fvacek commented Nov 6, 2024

<T:RpcMessage,id:24,path:".broker/access/users",method:"setValue">i{params:["fanda",{"password":{"format":"SHA1","password":"998886fed1af5c356cff427eca4aa7bb53ee4d6c"},"roles":["tester"]}]}

<T:RpcMessage,id:24>i{error:i{1:8,2:"unknown variant `format`, expected `Plain` or `Sha1` at line 1 column 21"}}

@fvacek fvacek changed the title Cannot create new user Cannot create new user from shvspy Nov 6, 2024
@fvacek
Copy link
Contributor Author

fvacek commented Nov 8, 2024

shoud be:
{ "password":{"Plain":"eyas3y45"}, "roles":["su"]}

@fvacek
Copy link
Contributor Author

fvacek commented Nov 8, 2024

got:
{"password":{"format":"SHA1","password":"998886fed1af5c356cff427eca4aa7bb53ee4d6c"},"roles":["tester"]}

fvacek pushed a commit that referenced this issue Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant