Implement hidden permission in profile editor
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 1 Jun 2014 19:39:16 +0000 (21:39 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 1 Jun 2014 19:39:16 +0000 (21:39 +0200)
commit4555d49036d51e04d2a55e1ed11c5c1b3de3feb9
treec2fe14e8ed6ab9ce1c13a37c47cfb82c18dbaae9
parent9b42c0b551d0ce7286e5b719ab49959829e99031
Implement hidden permission in profile editor

Accounts with "directory_hidden" permission (ie. people allowed to read
and update almost every information in the directory) need to be allowed
to read attributes flagged "private" (because the order of the
visibility flags is public < ax < private < hidden).

While at it, explicitly allow admin accout to read hidden values too.
templates/profile/adresses.address.tpl
templates/profile/deco.tpl
templates/profile/general.hobby.tpl
templates/profile/general.networking.tpl
templates/profile/jobs.job.tpl
templates/profile/phone.tpl