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
Extract repository collaborators with has_access_to edges that include
the permission level (admin, maintain, push, triage, pull). This surfaces
who has access to what repositories in the metadata graph.
| `extract` | `[]string` | No | Entity types to extract. Defaults to all: `users`, `repositories`, `teams`, `documents`. |
32
+
| `extract` | `[]string` | No | Entity types to extract. Defaults to all: `users`, `repositories`, `teams`, `documents`, `collaborators`. |
33
33
| `docs.repos` | `[]string` | No | Repositories to scan for documents. Defaults to all org repos. |
34
34
| `docs.paths` | `[]string` | No | Directory paths to scan within each repo. Defaults to `["docs"]`. |
35
35
| `docs.pattern` | `string` | No | Glob pattern to match files. Defaults to `"*.md"`. |
@@ -100,6 +100,11 @@ The extractor emits four entity types and their relationships as edges.
100
100
| `owned_by` | `repository` | `user` | Repository is owned by a user |
101
101
| `member_of` | `user` | `team` | User is a member of a team |
102
102
| `belongs_to` | `document` | `repository` | Document belongs to a repository |
103
+
| `has_access_to` | `user` | `repository` | User has access to a repository (properties: `permission`) |
104
+
105
+
### Collaborator Permissions
106
+
107
+
When `collaborators` is included in `extract`, the extractor lists collaborators for each repository and emits `has_access_to` edges with a `permission` property indicating the highest access level: `admin`, `maintain`, `push`, `triage`, or `pull`.
0 commit comments