Jump to content
Mumble forums

Question about ICE method


emik0
 Share

Recommended Posts

Hello everyone!


I'd like to know why Ice method "addUserToGroup" is temporary and where is permanent alternative.


Example:


User registers on forum, website, etc etc ... web.

Web scripts add this user to some "plus" group via Ice interface so he can enter channels where only this group is allowed.


And, also, this method seems to be broken, since if move user to channel owned by "plus" and make addUserToGroup (x, session, "plus"), user can't speak or do anything.


Am i missing something? Please help and thanks in advance!


P.S. Mumble client 1.3.0, murmur 1.2.8 (download links for 1.3.0 still dead).

Link to comment
Share on other sites

  • Moderators

If I recall correctly, getACL() and setACL() are permanent. It involves downloading the ACLs which includes groups, massaging the group membership you want into the groups object (which IIRC is a tree of objects), then pushing it back to the server with setACL().


The format of these functions and the objects they use varies depending on what language you're using - I think they're much easier to understand in for example Python than they are in PHP. It's mostly Ice's fault.


Also, I think the issue where the user isn't in the group is because the permissions aren't updated until the user changes channels again - if memory serves, you can reproduce this using the built in ACL editor. Move a user in, they're suppressed, add them to a group and they won't automatically be unsuppressed. I would imagine that's to avoid the operation being expensive on big and complicated servers, and it's trivially avoided - add the user to the group first then move the user in.


It sounds like you probably want an Authenticator though.

Full disclosure: I used to run a commercial Mumble host, and my opinions do not reflect the opinions of the Mumble project.

Avatar is stolen from here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...