Fix ejabberd API permission for akkounts VMs

It should have been using a /32, not a /8 subnet, in order to only allow
the akkounts VM(s) to use the API endpoints without further
authorization.
This commit is contained in:
Basti 2021-01-12 18:06:16 +01:00 committed by Greg Karékinian
parent d018b6570d
commit fd4844a012
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ api_permissions:
"akkounts":
who:
<% @akkounts_ip_addresses.each do |ip| -%>
- ip: "<%= ip %>/8"
- ip: "<%= ip %>/32"
<% end -%>
what:
- "add_rosteritem"