checking commit abilities