diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-23 09:45:55 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-23 09:45:55 -0600 |
| commit | b3e678c53359e39239fbf3dd67eda025f7ecb719 (patch) | |
| tree | 8fe95052aa4138eb4b8aec55f98eff96fd3b0d27 /etc | |
| parent | f8ad9adbfd9b6929f937665f81ec64d00bd1bb6b (diff) | |
feat: change reader relationship to sparklee relationship
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/authzd/relationships.yaml | 2 | ||||
| -rw-r--r-- | etc/authzd/schema.zed | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/authzd/relationships.yaml b/etc/authzd/relationships.yaml index 261ec36..b8ebe50 100644 --- a/etc/authzd/relationships.yaml +++ b/etc/authzd/relationships.yaml @@ -2,7 +2,7 @@ schemaFile: "./schema.zed" relationships: >- sparkle:1#author@user:mokhax - sparkle:1#reader@user:tanuki + sparkle:1#sparklee@user:tanuki assertions: assertTrue: - "sparkle:1#write@user:mokhax" diff --git a/etc/authzd/schema.zed b/etc/authzd/schema.zed index 8a98ab1..b0e8e74 100644 --- a/etc/authzd/schema.zed +++ b/etc/authzd/schema.zed @@ -1,9 +1,9 @@ definition user {} definition sparkle { - relation reader: user relation author: user + relation sparklee: user - permission read = reader + author + permission read = sparklee + author permission write = author } |
