prosody: Add privilege module for components

This module will be inactive while dynamic `VirtualHost` configuration
is being sorted out, but should nevertheless help in testing.
This commit is contained in:
Alex Palaistras 2022-12-13 19:49:59 +00:00
parent 4bc17662bd
commit 299eee98ce
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ modules_enabled = {
"mam"; -- Store messages in an archive and allow users to access it "mam"; -- Store messages in an archive and allow users to access it
"smacks"; -- Stream management for resuming dropped connections. "smacks"; -- Stream management for resuming dropped connections.
"csi_simple"; -- Enables simple traffic optimisation for clients that have reported themselves as inactive. "csi_simple"; -- Enables simple traffic optimisation for clients that have reported themselves as inactive.
"privilege"; -- Allows components to have privileged access to the XMPP server.
-- Push notifications -- Push notifications
"cloud_notify"; -- Support for push notifications. "cloud_notify"; -- Support for push notifications.

View File

@ -1,2 +1,3 @@
Component "${PROSODY_COMPONENT_NAME}" Component "${PROSODY_COMPONENT_NAME}"
component_secret = "${PROSODY_COMPONENT_PASSWORD}" component_secret = "${PROSODY_COMPONENT_PASSWORD}"
modules_enabled = {"privilege"}