summaryrefslogtreecommitdiff
path: root/modules/unit_test
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-29 17:53:33 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-29 17:53:33 -0700
commit381dd0574a9d83ceed1dbf6bcb1f7e158d46c85c (patch)
treecbfc6bf8c304a800e7c0d6781763c1c4dc53aee9 /modules/unit_test
parent055e0a7dc5d4fe65f92c5621a26432cda206f07f (diff)
Don't show the add photo/album options to users who don't have the
permission. This isn't a security hole, since they can't actually add stuff.. but they can try and fail which is a bad user experience. Also fix it up so that we show the option menu only if there's stuff to show, and cache some of the permissions for performance (which I'm guessing at-- didn't benchmark it).
Diffstat (limited to 'modules/unit_test')
0 files changed, 0 insertions, 0 deletions