Prevents non-owners from viewing edit links