From: Florent Bruneau Date: Fri, 17 Sep 2010 11:58:39 +0000 (+0200) Subject: Add constants to represent available permissions. X-Git-Tag: xorg/1.0.1~191 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=30962faee6e75fc02222e759033f9621983896b0;p=platal.git Add constants to represent available permissions. Signed-off-by: Florent Bruneau --- diff --git a/classes/user.php b/classes/user.php index 5944a7f..8551cbd 100644 --- a/classes/user.php +++ b/classes/user.php @@ -21,6 +21,15 @@ class User extends PlUser { + const PERM_GROUPS = 'groups'; + const PERM_MAIL = 'mail'; + const PERM_DIRECTORY_AX = 'directory_ax'; + const PERM_DIRECTORY_PRIVATE = 'directory_private'; + const PERM_EDIT_DIRECTORY = 'edit_directory'; + const PERM_FORUMS = 'forums'; + const PERM_LISTS = 'lists'; + const PERM_PAYMENT = 'payment'; + private $_profile_fetched = false; private $_profile = null;