destroy teacher permissions if teacher was destroyed