Check commit rights