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.
# Introduction
This module exposes users [microblogging][xep277] on Prosodys built-in HTTP server.
# Usage
With default HTTP settings, the microblog of `user@example.com` would be
seen at `https://example.com:5281/atom/user`.
# Configuration
The module itself has no options. However it uses the access control
mechanisms in PubSub, so users must reconfigure their microblogging node
to allow access, by setting `access_model` to `open`.
E.g. Gajim has UI for this, look for "Personal Events" → "Configure
services".