adding link, checking commit privileges