diff options
| author | Tekimaki <tekimaki_admin@users.sourceforge.net> | 2009-02-06 20:04:40 +0000 |
|---|---|---|
| committer | Tekimaki <tekimaki_admin@users.sourceforge.net> | 2009-02-06 20:04:40 +0000 |
| commit | 0ac664ffc421345c65ba077e1181b96fbcbc0abb (patch) | |
| tree | e144cd5a65b523fbead7ca1bee24cb42df76eb6a /view_file.php | |
| parent | 4221d79e066b7abb48770b7f9167a03fa20e660f (diff) | |
| download | liberty-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 'view_file.php')
0 files changed, 0 insertions, 0 deletions
