diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-24 18:21:25 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-24 18:21:25 -0600 |
| commit | 7eceda78b9f0cc03946b5922697ad13d0cba55db (patch) | |
| tree | 1c70ec6beb9bbed14b5fab605947f3417fadc4e7 /app | |
| parent | 27a253ff471d32ffa80e53170b68400eecd258c6 (diff) | |
chore: remove default cedar examples
Diffstat (limited to 'app')
| -rw-r--r-- | app/app_test.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/app_test.go b/app/app_test.go index fcdee36c..f0068e87 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -28,16 +28,6 @@ func TestApp(t *testing.T) { assert.False(t, reply.Result) }) - t.Run("allows alice:view:jane_vacation", func(t *testing.T) { - reply, err := client.Allowed(t.Context(), &rpc.AllowRequest{ - Subject: "gid://example/User/alice", - Permission: "view", - Resource: "gid://example/Album/jane_vacation", - }) - require.NoError(t, err) - assert.True(t, reply.Result) - }) - t.Run("allows gid://User/1 read gid://Organization/2", func(t *testing.T) { reply, err := client.Allowed(t.Context(), &rpc.AllowRequest{ Subject: "gid://example/User/1", |
