alfg / murmur-rest

:headphones: A RESTful API for administering virtual Mumble servers. Built with Flask and Ice.
https://github.com/alfg/murmur-rest
79 stars 34 forks source link

ACL group management #3

Open tyler274 opened 9 years ago

tyler274 commented 9 years ago

Endpoint for adding groups, removing groups, adding user to a group, removing user from a group, getting users currently in a group, getting all existing groups.

Incredibly useful for authenticated servers, Is anyone working on this?

alfg commented 9 years ago

I haven't had much time to work on this project as of lately, but I'm open to reviewing pull requests.

Most of the ACL functionality is supported by the Murmur SLICE API in case anyone wants to get started: http://mumble.sourceforge.net/slice/1.2.7/Murmur/Server.html#getACL

tyler274 commented 9 years ago

Looking through the method in the slice there's no method to add a user to a group based on username?

alfg commented 9 years ago

I believe the ACLs are set by userid only. But you can get the userid using something like getUserIds(NameList names).

tyler274 commented 9 years ago

thanks, but i mean is there any way to add a user to a group ala void addUserToGroup, but for registered users.

ACL seems woefully complicated for adding users to a group on the root channel

alfg commented 9 years ago

As far as I'm aware, it's all done through getting and setting ACLs, which I agree can be complicated. I see void addUserToGroup() as you mentioned, but that seems to be for temporary usage.

Unless there's an updated slice, I don't think the functionality would exist. That might be a better question for the Murmur community since this project uses the 1.2.7 slice.

Let me know if you find anything though. I've been a little out of the loop from the Murmur updates lately.