]> granicus.if.org Git - ejabberd/commit
Add shorter version of some common access rules definitions
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 15 Jun 2016 17:20:27 +0000 (19:20 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 15 Jun 2016 17:23:55 +0000 (19:23 +0200)
commit7b308e0d41909e515ec42acfbd31167e7e4f617d
tree866008ae95231e08f774870de9502df4ee8eeba2
parent90046081817cac7225c111bbb6bc7f3f327f35eb
Add shorter version of some common access rules definitions

This add conversion of

- allow
to
- allow: all

and

- allow: acl_name
to
- allow:
  - acl: acl_name

(this works also for deny, and number in shapers)
src/acl.erl
test/acl_test.exs