Example #1
0
 public function getPrivileges()
 {
     return parent::getPrivileges() + array(self::PRIVILEGE_EDIT_OWN => 'edit own comments', self::PRIVILEGE_DELETE_OWN => 'delete own comments', self::PRIVILEGE_EDIT => 'edit comments from all authors', self::PRIVILEGE_DELETE => 'delete comments from all authors');
 }