view core/features.lua @ 12987:2cf8d98d8a28

util.roles: Implement a serialization preparation metamethod Should be able to roundtrip trough serialization. Also nice for debug and logging purposes where you might want more details than what the __tostring method provides.
author Kim Alvefur <zash@zash.se>
date Sun, 26 Mar 2023 13:13:31 +0200
parents ead41e25ebc0
children 8576f94ac90a
line wrap: on
line source

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+";
	};
};