mod_compat_roles: Fix attempt to index a nil value #1847
permissions[] is not a map with role names as keys since 817bc9873fc2
but instead a level with host names were added. This was likely an
oversight.
Refactored towards railroad.
---
summary: Store authentication events in the audit log
rockspec:
dependencies:
- mod_audit
...
This module stores authentication failures and authentication successes in the
audit log provided by `mod_audit`.
If mod_client_management is loaded, it will also record entries when a new
client is connected to the user's account for the first time. For non-SASL2
clients, this may have false positives.