Esempio n. 1
0
 protected function _assertViewingPermissions($action)
 {
     if (strtolower($action) == 'terms') {
         return;
     }
     parent::_assertViewingPermissions($action);
 }
Esempio n. 2
0
 /**
  * @see XenForo_ControllerPublic_Abstract::_assertViewingPermissions()
  */
 protected function _assertViewingPermissions($action)
 {
     if (strtolower($action) != 'resetpermissions') {
         parent::_assertViewingPermissions($action);
     }
 }
Esempio n. 3
0
 protected function _assertViewingPermissions($action)
 {
     switch (strtolower($action)) {
         case 'contactdetails':
         case 'contactdetailssave':
         case 'privacy':
         case 'privacysave':
         case 'security':
         case 'securitysave':
         case 'externalaccounts':
         case 'externalaccountsdisassociate':
             return;
     }
     parent::_assertViewingPermissions($action);
 }