]> git.ipfire.org Git - thirdparty/asterisk.git/commit
acl: Add ACL support to http and ari
authorMike Bradeen <mbradeen@sangoma.com>
Fri, 27 Feb 2026 19:35:37 +0000 (12:35 -0700)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 5 Mar 2026 12:52:43 +0000 (12:52 +0000)
commit46292c9a456a339ab53a1ecbecb32a53bf3c981d
treec9f1e582f18eafea2f055efdc1b99c8af669ce56
parent31666e40399f1aa8147a7eb9f47263c9870e34a3
acl: Add ACL support to http and ari

Add uri prefix based acl support to the built in http server.
This allows an acl to be added per uri prefix (ie '/metrics'
or '/ws') to restrict access.

Add user based acl support for ARI. This adds new acl options
to the user section of ari.conf to restrict access on a per
user basis.

resolves: #1799

UserNote: A new section, type=restriction has been added to http.conf
to allow an uri prefix based acl to be configured. See
http.conf.sample for examples and more information.
The user section of ari.conf can now contain an acl configuration
to restrict users access. See ari.conf.sample for examples and more
information
configs/samples/ari.conf.sample
configs/samples/http.conf.sample
main/http.c
res/ari/ari_doc.xml
res/ari/cli.c
res/ari/config.c
res/ari/internal.h
res/res_ari.c