]> git.ipfire.org Git - thirdparty/asterisk.git/commit
acl: implement a centralized ACL output mechanism for HAs and ACLs.
authorJaco Kroon <jaco@uls.co.za>
Wed, 18 Mar 2020 13:49:56 +0000 (15:49 +0200)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 31 Mar 2020 15:45:04 +0000 (10:45 -0500)
commit5ddac396f05f17ed60c08fac1bcc47e45dbb5827
tree8f278de341da35487369bd9076707b3945d951e4
parent305227dd38b93ae7c43e125cdaae487078506121
acl: implement a centralized ACL output mechanism for HAs and ACLs.

named_acl.c (which is really a named_ha) now uses ast_ha_output.

I've also updated main/manager.c to output the actual ACL on "manager
show user <username>" if one is set.  If this works then we can add
similar to other modules as required.

Change-Id: I0ec9876a90dddd379c80ec078d48e3ee6991eb0f
include/asterisk/acl.h
main/acl.c
main/manager.c
main/named_acl.c