-
Notifications
You must be signed in to change notification settings - Fork 48
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
Register user #104
Comments
Hum. It should be possible since the Mumble client does this already and the only thing it has is the protocol buffer interfaces. |
https://github.com/mumble-voip/mumble/blob/master/src/murmur/Messages.cpp#L730-L749 Seems to be just a case of sending an updated user info with the user_id filled. Don't think the actual ID is used so as long as it's something else than null it should work I'd guess. Can you try this? I would welcome some sort of pull request to have a |
Sure. I will take a look at it.
…On Thu, May 3, 2018, 23:45 Mikko Rantanen ***@***.***> wrote:
https://github.com/mumble-voip/mumble/blob/master/src/murmur/Messages.cpp#L730-L749
Seems to be just a case of sending an updated user info with the user_id
filled. Don't think the actual ID is used so as long as it's something else
than null it should work I'd guess. Can you try this? I would welcome some
sort of pull request to have a .register() method on the user objects if
you get this working.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABbCdhEcZbQu5J9A0fZE4BeeOaE6V81Qks5tu3qKgaJpZM4Txu-X>
.
|
See #105. The id assigned to the user needs to be calculated by the client updating the user information, hence I implemented another utility in that PR: |
Really? That would make self registering painful if the ACL didn't allow getting registered users. It's also contradicting what the murmur code seems to do. The murmur code calls https://github.com/mumble-voip/mumble/blob/master/src/murmur/Messages.cpp#L732-L738 Although I'll merge that in and publish a new version once I get off work. I'll leave the review till then as well, otherwise my GitHub notification is going away and I'll forget it. |
I also found it weird, but when trying to simply call it with By the way, I might be mistaken but I think the ACL for registering also allows to list registered users. |
Yeah, ACL for registering (as opposed to self registering) is needed to retrieve the list of users. And this ACL needs to be defined on the root channel: https://github.com/mumble-voip/mumble/blob/master/src/murmur/Messages.cpp#L1511-L1516 |
Oh, right. These don't get closed automatically from other people's PRs. Thanks for reminding again. :) |
Is it possible, using
node-mumble
to register another user if the user whichnode-mumble
authenticated with has the necessary permissions to do so (e.g. connected as SuperUser)? I could neither find a method for this nor something in mumbles Protocol buffer.The text was updated successfully, but these errors were encountered: