Fix bug where anonymous user can access inline edit