ACL for admin users

Hello,
I have two virtual hosts:

{hosts, ["xgm.de", "wyouth.de"]}.

but I want to give only admin@xgm.de admin rights:

{acl, admin, {user, "admin", "xgm.de"}}.

but admin@wyouth.de still has all rights, like accessing the webinterface and the stuff through discovery...

Thanks,

Florian

Check ACLs on the web interface

Did you give admin rights to admin@wyouth.de on ejabberd.cfg previously?

When ejabberd starts, new ACLs are read from ejabberd.cfg and added to the existing ACLs stored on the database. Even if you remove an ACL on ejabberd.cfg, it's still stored on the database.

You can remove or add ACLs on the database using the web interface. Check the admin ACL for admin@wyouth.de exists, and remove it. No need to restart.

If you want ACLs on the database to be ignored on start (so only the ones on ejabberd.cfg really matter) put this at the beginning of ejabberd.cfg:

override_acls.
Syndicate content