Fix that last change, argh.
Merge pull request #65 from eve-val/feature/edit

Fix that last change to edit permission check.