We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c93ad commit 56c6b62Copy full SHA for 56c6b62
1 file changed
src/authorization.md
@@ -22,7 +22,7 @@ interface PolicyArgs<Actor, Action, Resource> {
22
resource: Resource
23
}
24
25
-type NotePolicyArgs = PolicyArgs<Account, NotePolicyActions, Note>
+type NotePolicyArgs = PolicyArgs<Account, NotePolicyScope, Note>
26
27
class NotePolicy {
28
static isAllowed(args: NotePolicyArgs): Option.Option<Error> {
0 commit comments