Issue: checking commit permissions