Skip to content

Commit

Permalink
fix gitlab source typo (#45984)
Browse files Browse the repository at this point in the history
This PR fixes an issue with Gitlab source name where it incorrectly referenced Gitlab source with every letter capitalized,
  • Loading branch information
tigrato authored Aug 29, 2024
1 parent 6f64d22 commit 7504732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/access-controls/access-graph/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ You can also run queries to fetch specific information from the Access Graph, su
The following query fetches all projects accessible to a user <Var name="user" />:

```sql
SELECT * FROM access_path WHERE "identity" = '<Var name="user" />' AND source='GITLAB'
SELECT * FROM access_path WHERE "identity" = '<Var name="user" />' AND source='Gitlab'
```

Additionally, you filter projects by the user's access level, `owner`, `maintainer`, `developer`, `guest`, or `reporter`
by running the following query:

```sql
SELECT * FROM access_path WHERE "identity" = '<Var name="user" />' AND source='GITLAB' AND action='owner'
SELECT * FROM access_path WHERE "identity" = '<Var name="user" />' AND source='Gitlab' AND action='owner'
```

Change the `action` parameter to `maintainer`, `developer`, `guest`, or `reporter` to fetch the respective projects.
Expand All @@ -130,7 +130,7 @@ Change the `action` parameter to `maintainer`, `developer`, `guest`, or `reporte
The following query fetches all users with read/write access to a project named <Var name="project" />:

```sql
SELECT * FROM access_path WHERE "resource" = '<Var name="project" />' AND source='GITLAB'
SELECT * FROM access_path WHERE "resource" = '<Var name="project" />' AND source='Gitlab'
```

## Troubleshooting
Expand Down

0 comments on commit 7504732

Please sign in to comment.