aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_xml_spec.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-10-07 17:01:35 +0100
committerMatthew Wild <mwild1@gmail.com>2022-10-07 17:01:35 +0100
commitd08ddc1f4a1c6d93342bd8efd69c837782656f1f (patch)
tree7fe495e577da6561513defd7a51f41d3c24248f8 /spec/util_xml_spec.lua
parentbda9ea678c9254254c90e3f4626d3aa7f1de364c (diff)
downloadprosody-d08ddc1f4a1c6d93342bd8efd69c837782656f1f.tar.gz
prosody-d08ddc1f4a1c6d93342bd8efd69c837782656f1f.zip
util.roles: Add a :policies() method to iterate through available policies
We don't expose the policies directly, to force people to go through :may(). However, there are times when we really just need to know what policies a role has inside it (e.g. for reporting or debugging purposes).
Diffstat (limited to 'spec/util_xml_spec.lua')
0 files changed, 0 insertions, 0 deletions