-
Notifications
You must be signed in to change notification settings - Fork 12
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 enable or disable users in realm #25
Comments
Thanks @Jopie01 I’ll take a look tomorrow and get back to you. |
@Jopie01 Just made a commit to If you do: wick --url ws://localhost:18080/ws --realm com.leapsight.test \
call bondy.user.enable "app1" No return Then: wick --url ws://localhost:18080/ws --realm com.leapsight.test \
call bondy.user.is_enabled "app1" should return [
false
] |
@aramallo Thanks! Did a pull and now it works perfectly! Also using
And replacing |
52 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get an error when I want to enable or disable a user. Using
wick
from the documentationI get
Using
curl
I get
Digging / tracing through the code and trying to debug, the error comes from:
bondy/apps/bondy/src/bondy_rbac_user.erl
Lines 860 to 864 in e72460e
The problem is that the User send is a Binary and it seems that the function is expecting something different. Removing the type check will fix the problem and I can enable and disable an user. But I don't think that's the right thing to do right? I suppose it should be fixed in
bondy/apps/bondy/src/bondy_rbac_user_wamp_api.erl
Line 96 in e72460e
All the above happens for both enable and disable an user.
The text was updated successfully, but these errors were encountered: