diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-10-07 17:01:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-10-07 17:01:35 +0100 |
commit | d08ddc1f4a1c6d93342bd8efd69c837782656f1f (patch) | |
tree | 7fe495e577da6561513defd7a51f41d3c24248f8 /teal-src/module.d.tl | |
parent | bda9ea678c9254254c90e3f4626d3aa7f1de364c (diff) | |
download | prosody-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 'teal-src/module.d.tl')
0 files changed, 0 insertions, 0 deletions