You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Requires GitHub CLI (`gh`) to be installed and authenticated. The script uses the GraphQL API and requires permission to view enterprise admins. Your token must have appropriate enterprise-level scopes. `jq` is required for JSON parsing.
251
-
252
-
### check-organization-admin.sh
253
-
254
-
Checks if a user is an admin in a given organization.
> Requires GitHub CLI (`gh`) to be installed and authenticated. The script uses the GitHub API and requires appropriate permissions to view organization members and their roles.
270
-
271
-
### check-repository-admin.sh
272
-
273
-
Checks if a user is a collaborator in a given repository and determines if they have admin access.
> Requires GitHub CLI (`gh`) to be installed and authenticated. The script uses the GitHub API and requires appropriate permissions to view collaborators and permissions for the repository. For private repositories, your token must have the `repo` scope.
289
-
290
243
### check-enterprise-team-membership.sh
291
244
292
245
Checks if a user is a member of an enterprise team using the GitHub API (private preview feature).
> This script uses a private preview API for enterprise teams, which may change without notice. Requires GitHub CLI (`gh`) to be installed and authenticated. You may need special permissions or token scopes to access enterprise team membership information.
308
-
254
+
> This script uses a private preview API for enterprise teams, which may change without notice.
> Requires GitHub CLI (`gh`) to be installed and authenticated. Your token must have the `read:org` scope to view team membership.
328
-
329
279
### copy-organization-members.sh
330
280
331
281
Copy organization members from one organization to the other, the member will **retain** the source role (owner or member), member cannot be demoted, if they already exist at the target with an owner role they cannot be demoted to member.
0 commit comments