Junior Admin

Is there a way to create a junior admin for accessing ejabberd web console? We want to allow the junior admin to only add or remove users and change passwords.

That is not configurable. Of

That is not configurable. Of course you can edit the ejabberd_web_admin.erl source code, the get_acl_rule functions may do the trick.

Another solution would be to use ejabberd commands to perform those changes
$ ejabberdctl register user34 localhost pass123
User user34@localhost successfully registered
$ ejabberdctl change_password user34 localhost newpass
$ ejabberdctl unregister user34 localhost

You can allow the junior jabber account access to those commands. He can perform the changes with XMLRPC queries if you enable ejabberd_xmlrpc, or ReST calls if you install mod_rest, or mod_http_api...

Syndicate content