Edit Variables Permission requires Edit Project permission

The Edit Variables permission correctly allows a user to edit variables in their allowed environments but when they attempt to save an error appears. This was previously identified in a comment to this issue but since Paul indicated he would have a fix ready in a week I’m assuming this is a re-introduction of the previous bug.