mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
Correct indentation in documented example for access_policy
This commit is contained in:
parent
f1748e2f92
commit
348541c714
1 changed files with 10 additions and 10 deletions
|
@ -509,16 +509,16 @@ server:
|
||||||
provider_config:
|
provider_config:
|
||||||
type: "github_token"
|
type: "github_token"
|
||||||
github_api_base_url: "https://api.github.com"
|
github_api_base_url: "https://api.github.com"
|
||||||
access_policy:
|
access_policy:
|
||||||
- permit:
|
- permit:
|
||||||
principal: user-1
|
principal: user-1
|
||||||
actions: [create, read, delete]
|
actions: [create, read, delete]
|
||||||
description: user-1 has full access to all resources
|
description: user-1 has full access to all resources
|
||||||
- permit:
|
- permit:
|
||||||
principal: user-2
|
principal: user-2
|
||||||
actions: [read]
|
actions: [read]
|
||||||
resource: model::model-1
|
resource: model::model-1
|
||||||
description: user-2 has read access to model-1 only
|
description: user-2 has read access to model-1 only
|
||||||
```
|
```
|
||||||
|
|
||||||
Similarly, the following restricts access to particular kubernetes
|
Similarly, the following restricts access to particular kubernetes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue