Skip to content

Commit

Permalink
feat: use standard JSON format to fix result for ABAC model (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
HashCookie authored Jan 16, 2025
1 parent c4e29ca commit 640a15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/editor/casbin-mode/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ e = some(where (p.eft == allow))
[matchers]
m = r.sub == r.obj.Owner`,
policy: '',
request: `alice, { Owner: 'alice'}
alice, { Owner: 'bob'}`,
request: `alice, { "Owner" : "alice" }
alice, { "Owner" : "bob" }`,
customConfig: undefined,
enforceContext: undefined,
},
Expand Down

0 comments on commit 640a15d

Please sign in to comment.