final public function getPermissions( $authenticated ) {

        //$authority      = $this;
        $this->userid = (int) $authenticated->get("user_id");

        //Authenticated?
        if ($authenticated->authenticated && !empty($this->userid)) {
            //At least we know the user is authenticated
            $this->setAuthority( AUTHROITY_IMPLIED_AUTHENTICATED );
        }
    }
final public function getPermissions( $authenticated ) {

        //$authority      = $this;
        $this->userid = (int) $authenticated->get("user_id");

        //Authenticated?
        if ($authenticated->authenticated && !empty($this->userid)) {
            //At least we know the user is authenticated
            $this->setAuthority( AUTHROITY_IMPLIED_AUTHENTICATED );
        }
    }
final public function getPermissions ( $ authenticated ) { //$authority      = $this; $ this -> userid = ( int ) $ authenticated -> get ( "user_id" ) ; //Authenticated? if ( $ authenticated -> authenticated && ! empty ( $ this -> userid ) ) { //At least we know the user is authenticated $ this -> setAuthority ( AUTHROITY_IMPLIED_AUTHENTICATED ) ; } }
Gets the permissions givent to the authenticated users

@param object $authenticated
@uses \Library\Authorize\Permission to determin execute permissions
@return object Permission
Gets the permissions givent to the authenticated users