def cmd_refs(self, ticket, changeset, perm):
        if self.check_perms and not 'TICKET_APPEND' in perm:
            self.log.info("%s doesn't have TICKET_APPEND permission for #%d",
                          self._authname(changeset), ticket.id)
            return False
dataset/ETHPy150Open edgewall/trac/tracopt/ticket/commit_updater.py/CommitTicketUpdater.cmd_refs/original