public function canEditAuthors($member = null)
    {
        $member = $this->getMember($member);

        $extended = $this->extendedCan('canEditAuthors', $member);

        if ($extended !== null) {
            return $extended;
        }

        $parent = $this->Parent();

        if ($parent instanceof Blog && $parent->exists()) {
            if ($parent->isEditor($member)) {
                return true;
            }

            if ($parent->isWriter($member) && $this->isAuthor($member)) {
                return true;
            }
        }

        return Permission::checkMember($member, Blog::MANAGE_USERS);
    }
public function canEditAuthors($member = null)
    {
        $member = $this->getMember($member);

        $extended = $this->extendedCan('canEditAuthors', $member);

        if ($extended !== null) {
            return $extended;
        }

        $parent = $this->Parent();

        if ($parent instanceof Blog && $parent->exists()) {
            if ($parent->isEditor($member)) {
                return true;
            }

            if ($parent->isWriter($member) && $this->isAuthor($member)) {
                return true;
            }
        }

        return Permission::checkMember($member, Blog::MANAGE_USERS);
    }
public function canEditAuthors ( $ member = null ) { $ member = $ this -> getMember ( $ member ) ; $ extended = $ this -> extendedCan ( 'canEditAuthors' , $ member ) ; if ( $ extended !== null ) { return $ extended ; } $ parent = $ this -> Parent ( ) ; if ( $ parent instanceof Blog && $ parent -> exists ( ) ) { if ( $ parent -> isEditor ( $ member ) ) { return true ; } if ( $ parent -> isWriter ( $ member ) && $ this -> isAuthor ( $ member ) ) { return true ; } } return Permission :: checkMember ( $ member , Blog :: MANAGE_USERS ) ; }
Determine if this user can edit the authors list.

@param null|int|Member $member

@return bool
Determine if this user can edit the authors list .