code/libraries/joomlatools/library/controller/permission/abstract.php
public function canEdit()
    {
        if($this->getMixer() instanceof KControllerModellable)
        {
            $user = $this->getUser();
            if ($user->isAuthentic() && $user->isEnabled()) {
                return true;
            }
        }

        return false;
    }
public function canEdit()
    {
        if($this->getMixer() instanceof KControllerModellable)
        {
            $user = $this->getUser();
            if ($user->isAuthentic() && $user->isEnabled()) {
                return true;
            }
        }

        return false;
    }
public function canEdit ( ) { if ( $ this -> getMixer ( ) instanceof KControllerModellable ) { $ user = $ this -> getUser ( ) ; if ( $ user -> isAuthentic ( ) && $ user -> isEnabled ( ) ) { return true ; } } return false ; }
Permission handler for edit actions

Method returns TRUE iff the controller implements the KControllerModellable interface and the user is authentic
and the account is enabled.

@return  boolean  Return TRUE if action is permitted. FALSE otherwise.
Permission handler for edit actions