diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-10-07 16:58:08 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-10-07 16:58:08 +0100 |
commit | d6863b51b94b1a9e5e4cf8ad18a5804807dffe8f (patch) | |
tree | a042c738cf913b5bec3c3684134e7bfb3340da32 /util/openssl.lua | |
parent | 01e03f483760c6f0ff7c6f15fe9cd6b6a54ee97b (diff) | |
download | prosody-d6863b51b94b1a9e5e4cf8ad18a5804807dffe8f.tar.gz prosody-d6863b51b94b1a9e5e4cf8ad18a5804807dffe8f.zip |
util.roles: Return nil if the role has no explicit policy (fixes inheritance)
Previously, if the first inherited role had no opinion, it returned false and
prevented further consultation of other inherited roles.
This bug was found thanks to the implementation of missing test cases
identified through mutation testing.
Diffstat (limited to 'util/openssl.lua')
0 files changed, 0 insertions, 0 deletions