Correct indentation in documented example for access_policy

This commit is contained in:
Anastas Stoyanovsky 2025-10-02 09:09:01 -04:00 committed by GitHub
parent f1748e2f92
commit 348541c714
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -509,16 +509,16 @@ server:
provider_config:
type: "github_token"
github_api_base_url: "https://api.github.com"
access_policy:
- permit:
principal: user-1
actions: [create, read, delete]
description: user-1 has full access to all resources
- permit:
principal: user-2
actions: [read]
resource: model::model-1
description: user-2 has read access to model-1 only
access_policy:
- permit:
principal: user-1
actions: [create, read, delete]
description: user-1 has full access to all resources
- permit:
principal: user-2
actions: [read]
resource: model::model-1
description: user-2 has read access to model-1 only
```
Similarly, the following restricts access to particular kubernetes