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:
parent
4ca875a77b
commit
74cf26846e
@ -177,7 +177,7 @@ api_permissions:
|
|||||||
"akkounts":
|
"akkounts":
|
||||||
who:
|
who:
|
||||||
<% @akkounts_ip_addresses.each do |ip| -%>
|
<% @akkounts_ip_addresses.each do |ip| -%>
|
||||||
- ip: "<%= ip %>/8"
|
- ip: "<%= ip %>/32"
|
||||||
<% end -%>
|
<% end -%>
|
||||||
what:
|
what:
|
||||||
- "add_rosteritem"
|
- "add_rosteritem"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user