Fix pre-commit rights