diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-12-08 23:41:59 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-12-08 23:41:59 +0100 |
commit | d6dc956f8c13064c5e638d5ba817123f66261cfe (patch) | |
tree | 137e886f44655fae8c52878f64d9617917fcf63f /lib/plugins | |
parent | 5b72404c10cb148753118be9ff987ab339b2db06 (diff) | |
download | rpg-d6dc956f8c13064c5e638d5ba817123f66261cfe.tar.gz rpg-d6dc956f8c13064c5e638d5ba817123f66261cfe.tar.bz2 |
added auth_isMember()
This function abstracts checking a given user and her groups against a
given member list (as used in the superuser and manager options).
It is also used in auth_isManager() and auth_isAdmin(), unlike the
previous function, this one skips the nameencode step as it should be
unnessary here (all input is given decoded).
The test cases where extended by some non-ID user and group names.
People with non-plain auth backends should check that their
administrator and manager setups still work as expected
Diffstat (limited to 'lib/plugins')
0 files changed, 0 insertions, 0 deletions