Only display edit/delete links if the user can perform the action

 - Fixes #202