Skip to content

Commit

Permalink
docs: Add documentation about empty list of authorizations in oidc case
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyno-zeta committed Aug 16, 2024
1 parent 2fd94f1 commit 8ad1850
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/feature-guide/authorization-accesses.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,34 @@ To conclude, if you want to have a **AND** accesses list (following the example

## Examples

### Empty list

Example of authorization accesses configuration:

```yaml
targets:
target1:
resources:
- path: /*
provider: provider1
oidc:
authorizationAccesses: []
bucket:
...
```
We consider those users:
- Jean Dupont with `group1` and `group2` groups
- Astérix with `group1` and `group3` groups
- Obélix with `group3` group

Accesses will be:

- Jean Dupont: Authorized because list is empty
- Astérix: Authorized because list is empty
- Obélix: Authorized because list is empty

### Group matching

Example of authorization accesses configuration:
Expand Down

0 comments on commit 8ad1850

Please sign in to comment.