canEdit middleware complete
pre-commit and post-merge git hooks