
from flask.ext.login import current_user


def create(token=None):
    return False


def read(token=None):
    return not current_user.is_anonymous()


def update(token=None):
    return False


def delete(token=None):
    return False


from flask.ext.login import current_user


def create(token=None):
    return False


def read(token=None):
    return not current_user.is_anonymous()


def update(token):
    return False


def delete(token):
    return False

Change signature to match other resources auth functions
Change signature to match other resources auth functions

  
  from flask.ext.login import current_user
  
  
  def create(token=None):
      return False
  
  
  def read(token=None):
      return not current_user.is_anonymous()
  
  
- def update(token=None):
+ def update(token):
      return False
  
  
- def delete(token=None):
+ def delete(token):
      return False
  
Change signature to match other resources auth functions
## Code Before:

from flask.ext.login import current_user


def create(token=None):
    return False


def read(token=None):
    return not current_user.is_anonymous()


def update(token=None):
    return False


def delete(token=None):
    return False

## Instruction:
Change signature to match other resources auth functions
## Code After:

from flask.ext.login import current_user


def create(token=None):
    return False


def read(token=None):
    return not current_user.is_anonymous()


def update(token):
    return False


def delete(token):
    return False
