-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shaobo He <[email protected]>
- Loading branch information
1 parent
6976ad9
commit f64e143
Showing
7 changed files
with
100 additions
and
244 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
cedar-example-use-cases/document_cloud/ALLOW/alice_create_authenticated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"principal": "User::\"alice\"", | ||
"action": "Action::\"CreateDocument\"", | ||
"action": "Action::\"createDocument\"", | ||
"resource": "Drive::\"drive\"", | ||
"context": {"is_authenticated": true} | ||
"context": {} | ||
} |
4 changes: 2 additions & 2 deletions
4
cedar-example-use-cases/document_cloud/ALLOW/alice_view_alice_public.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"principal": "User::\"alice\"", | ||
"action": "Action::\"ViewDocument\"", | ||
"action": "Action::\"viewDocument\"", | ||
"resource": "Document::\"alice_public\"", | ||
"context": {"is_authenticated": true} | ||
"context": {} | ||
} |
4 changes: 2 additions & 2 deletions
4
cedar-example-use-cases/document_cloud/ALLOW/charlie_view_alice_public.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"principal": "User::\"charlie\"", | ||
"action": "Action::\"ViewDocument\"", | ||
"action": "Action::\"viewDocument\"", | ||
"resource": "Document::\"alice_public\"", | ||
"context": {"is_authenticated": true} | ||
"context": {} | ||
} |
6 changes: 0 additions & 6 deletions
6
cedar-example-use-cases/document_cloud/DENY/alice_create_unauthenticated.json
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
cedar-example-use-cases/document_cloud/DENY/bob_view_alice_public.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"principal": "User::\"bob\"", | ||
"action": "Action::\"ViewDocument\"", | ||
"action": "Action::\"viewDocument\"", | ||
"resource": "Document::\"alice_public\"", | ||
"context": {"is_authenticated": true} | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.