How to identify a user’s administrative rights or access to a Github repository?

Need verification that I have removed myself as an admin on all new repositories that I have configured.

Answers

  • crystralRamirez
    crystralRamirez ✭✭✭✭✭
    FIND github_user AS g
      THAT ALLOWS github_repo 
    WHERE g.siteAdmin = true OR g.role = 'ADMIN' OR g.username = "xxxxxx"

    xxxxxx - the username in quotations must be supplied to obtain good query resultsORAlternatively, the query can be changed to reflect a former employee whose administrative rights have not been disabled to access the Github repository.

    FIND github_user AS g
      THAT ALLOWS github_repo 
    WHERE g.siteAdmin != true OR g.role = 'ADMIN' OR g.employee != true

This Month's Leaders