[ejabberd] administration of contacts

Badlop badlop at gmail.com
Wed Oct 6 12:57:56 MSD 2010


2010/10/5 Márcio Luciano Donada <mdonada at auroraalimentos.com.br>:
> If I have the need to have some users who have access to add other
> users, which would be the correct rule to allow this release? In acl roster
>
> {access, roster, [{allow, admin},{allow, user},{deny, all}]}.

Complete example:

{acl, admin, {user, "bob", "example.org"}}.
{acl, admin, {user, "sarah", "example.org"}}.

{acl, rosterpowerusers, {user, "tim", "jabber.org"}}.
{acl, rosterpowerusers, {user, "jean", "example.org"}}.

{access, roster, [{allow, admin}, {allow, rosterpowerusers},  {deny, all}]}.

{modules,
 [
  ...
  {mod_roster, [{access, roster}]},
  ...
 ]}.


---
Badlop
ProcessOne


More information about the ejabberd mailing list