edit works, delete also asks for permission when deleting