How to identify a user’s administrative rights or access to a Github repository?
dcpeach
✭✭✭✭✭
Need verification that I have removed myself as an admin on all new repositories that I have configured.
0
Answers
-
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
0
This Month's Leaders
Categories
- 336 All Categories
- Featured Categories
- 7 About the AskJ1 Community
- 11 Product Announcements
- From Mission Control
- 1 Rapid Response
- 3 How J1 Uses J1
- Topics
- 131 Asset Management
- 56 Compliance & Reporting
- 65 Security Operations
- 40 Security Engineering
- 5 Open Source
- 18 News, Careers and More