> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GH_AdminTo

> [Repository] Repo role has admin access to the repository.

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

## Edge Schema

* Traversable: ✅

| Start | Kind | End |
| - | - | - |
| [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole) | GH\_AdminTo | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) |

```mermaid theme={null}
flowchart LR
    GH_RepoRole["GH_RepoRole"]
    GH_Repository["GH_Repository"]
    GH_RepoRole -- GH_AdminTo --> GH_Repository
```

## General Information

The traversable GH\_AdminTo edge represents a role's full administrative access to the repository. Admin is the highest built-in repository role and grants control over all repository settings, including dangerous operations like deleting the repository or modifying its visibility. Admin access bypasses most protections including branch protection rules, unless `enforce_admins` is explicitly enabled on the branch protection rule. This edge is a key permission in the computed branch access model and is a high-value target in attack path analysis.

## Edge Schema

| Source | Destination | Traversable |
| - | - | - |
| [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole) | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | `true` |

## Diagram

```mermaid theme={null}
graph LR
    n0["GH_RepoRole"]
    n1["GH_Repository"]
    n0 -->|GH_AdminTo| n1
```
