How to hide the Edit/Delete button based on user login?

Maybe this topic will give you some ideas: