]> 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:59:12 +0000 (10:59 -0500)
commit1b01a6abfd1f323c9043fc9c65f4ab038296f77c
treefab7bdb99d5224936b132f56745cef81dd54f052
parent5e24379cf2cdb06149e92a32e4d6c7497f3653c7
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