validating github permissions