Fix for delete comment. Only show action buttons when user has permission.