summaryrefslogtreecommitdiff
path: root/preview.php
diff options
context:
space:
mode:
authorTekimaki <tekimaki_admin@users.sourceforge.net>2009-02-06 20:04:40 +0000
committerTekimaki <tekimaki_admin@users.sourceforge.net>2009-02-06 20:04:40 +0000
commit0ac664ffc421345c65ba077e1181b96fbcbc0abb (patch)
treee144cd5a65b523fbead7ca1bee24cb42df76eb6a /preview.php
parent4221d79e066b7abb48770b7f9167a03fa20e660f (diff)
downloadliberty-0ac664ffc421345c65ba077e1181b96fbcbc0abb.tar.gz
liberty-0ac664ffc421345c65ba077e1181b96fbcbc0abb.tar.bz2
liberty-0ac664ffc421345c65ba077e1181b96fbcbc0abb.zip
when checking for a general user perm you call hasPermission on gBitUser, not hasUserPermission -- hasUserPermission runs the perm on the content object - in which case its the gBitUser itself - which will thus always return true since the user is the owner of themselves
Diffstat (limited to 'preview.php')
0 files changed, 0 insertions, 0 deletions