Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Predefined ACL rule "local". #12

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

jadahl commented Feb 27, 2011

Addition of another predefined ACL rule called "local" to match a user against either the virtual host of the match rule call, or any configured virtual host in case the rule is on the global scope.

Member

badlop commented Mar 3, 2011

I don't understand the practical difference between your predefined ACL rule "local" and the ACL rule included in the default ejabberd.cfg:
{acl, local, {user_regexp, ""}}.

Both have the same effect in practice, right? Otherwise, what's the benefit of using your ACL rule?

Contributor

jadahl commented Mar 3, 2011

It's true that using the user regexp match rule would have the same effect, but it would be more intuitive to have this option as well. While not using anything based on the default configuration file, looking through the documentation for accurate ACL rule, I felt this option was missing.

@goj goj referenced this pull request in goj/ejabberd Jan 13, 2012

@paulgray paulgray Merge pull request #12 from goj/debug-live-ctl
Make ./bin/ejabberd more like the old ejabberdctl
a7713fe

@badlop badlop closed this Jan 29, 2015

@hamano hamano added a commit to hamano/ejabberd that referenced this pull request Sep 12, 2015

@badlop @hamano badlop + hamano Fix srg_create when calling ejabberd_regexp (fixes issue #12) 9faf11e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment