2275: fixed logic for showing the edit button

Consolidated the code that checks if a user can add a new version into
1 place.  Previously it was in several places, so things could get out
of sync.  Like Janet's comment that we could show the edit
button, but not allow the edit to actually be performed.