original_string: protected function controlAccessAccount()
      {
          $account_id = $this->url->getAccountId();
  
          if ($account_id === false || $this->uid === $account_id) {
              return null;
          }
  
          if ($this->isSuperadmin($account_id) && !$this->isSuperadmin()) {
              $this->setHttpStatus(403);
              return null;
          }
  
          if (!$this->access('user')) {
              $this->setHttpStatus(403);
          }
      }
code: protected function controlAccessAccount()
      {
          $account_id = $this->url->getAccountId();
  
          if ($account_id === false || $this->uid === $account_id) {
              return null;
          }
  
          if ($this->isSuperadmin($account_id) && !$this->isSuperadmin()) {
              $this->setHttpStatus(403);
              return null;
          }
  
          if (!$this->access('user')) {
              $this->setHttpStatus(403);
          }
      }
code_tokens: protected function controlAccessAccount ( ) { $ account_id = $ this -> url -> getAccountId ( ) ; if ( $ account_id === false || $ this -> uid === $ account_id ) { return null ; } if ( $ this -> isSuperadmin ( $ account_id ) && ! $ this -> isSuperadmin ( ) ) { $ this -> setHttpStatus ( 403 ) ; return null ; } if ( ! $ this -> access ( 'user' ) ) { $ this -> setHttpStatus ( 403 ) ; } }
docstring: Controls access to account pages
docstring_tokens: Controls access to account pages