check push permissions