def IsAllowed(self, unused_action, this_user):
    ndb_user = user.User.query().filter(
        user.User.email == this_user.email()).get()
    return ndb_user.key == self.key.parent()
Is this user allowed to perform this action on this Pipeline.
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/src/model/pipeline.py/Pipeline.IsAllowed