mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
This gives us more granular control over different types of user account. Accounts registered by IBR get assigned prosody:registered by default, while accounts provisioned by an admin (e.g. via prosodyctl shell) will receive prosody:member by default.
19 lines
367 B
Lua
19 lines
367 B
Lua
local set = require "prosody.util.set";
|
|
|
|
return {
|
|
available = set.new{
|
|
-- mod_bookmarks bundled
|
|
"mod_bookmarks";
|
|
-- Roles, module.may and per-session authz
|
|
"permissions";
|
|
-- prosody.* namespace
|
|
"loader";
|
|
-- "keyval+" store
|
|
"keyval+";
|
|
|
|
"s2sout-pre-connect-event";
|
|
|
|
-- prosody:guest, prosody:registered, prosody:member
|
|
"split-user-roles";
|
|
};
|
|
};
|