diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-04 07:00:45 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-04 07:00:45 -0800 |
commit | 62d5f1addb1b710a387f7732ace1dd33bd1b86c1 (patch) | |
tree | df1d6d402dd057c330b0eb71b803d595c024d476 /classes/Profile.php | |
parent | 0f1c6e239acbf2c024c3aae9819d891f02b05bfd (diff) | |
parent | 9f861e9d895325adbb2dc7f1d540a442be2c1b2f (diff) |
Merge branch 'testing'
Diffstat (limited to 'classes/Profile.php')
-rw-r--r-- | classes/Profile.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index 9c2fa7a0c..0322c9358 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -743,6 +743,10 @@ class Profile extends Memcached_DataObject case Right::CONFIGURESITE: $result = $this->hasRole(Profile_role::ADMINISTRATOR); break; + case Right::GRANTROLE: + case Right::REVOKEROLE: + $result = $this->hasRole(Profile_role::OWNER); + break; case Right::NEWNOTICE: case Right::NEWMESSAGE: case Right::SUBSCRIBE: |