<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _trig_auth_check(self, useriden):
        ''' Check that, as a non-admin, may only manipulate resources created by you. '''
        if not self.user.admin and useriden != self.user.iden:
            raise s_exc.AuthDeny(user=self.user.name, mesg='As non-admin, may only manipulate triggers created by you')