public function setSuperUserAccess($bool = true)
    {
        $this->hasSuperUserAccess = (bool) $bool;

        if ($bool) {
            $this->makeSureLoginNameIsSet();
        } else {
            $this->resetSites();
        }
    }
public function setSuperUserAccess($bool = true)
    {
        $this->hasSuperUserAccess = (bool) $bool;

        if ($bool) {
            $this->makeSureLoginNameIsSet();
        } else {
            $this->resetSites();
        }
    }
public function setSuperUserAccess ( $ bool = true ) { $ this -> hasSuperUserAccess = ( bool ) $ bool ; if ( $ bool ) { $ this -> makeSureLoginNameIsSet ( ) ; } else { $ this -> resetSites ( ) ; } }
We bypass the normal auth method and give the current user Super User rights.
This should be very carefully used.

@param bool $bool
We bypass the normal auth method and give the current user Super User rights . This should be very carefully used .