summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-12-08 23:41:59 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-12-08 23:41:59 +0100
commitd6dc956f8c13064c5e638d5ba817123f66261cfe (patch)
tree137e886f44655fae8c52878f64d9617917fcf63f /inc/mail.php
parent5b72404c10cb148753118be9ff987ab339b2db06 (diff)
downloadrpg-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 'inc/mail.php')
0 files changed, 0 insertions, 0 deletions