We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8516e commit 997b70cCopy full SHA for 997b70c
1 file changed
src/acp/AccessControl.ts
@@ -2,9 +2,10 @@ import { TermWrapper } from "rdfjs-wrapper"
2
import { Policy } from "./Policy.js"
3
import { ACP } from "../vocabulary/mod.js"
4
import { Typed } from "./Typed.js";
5
+import { ObjectMapping } from "rdfjs-wrapper";
6
7
export class AccessControl extends Typed {
8
get apply(): Set<Policy> {
- return this.objects(ACP.apply, TermWrapper.as(Policy), TermWrapper.as(Policy))
9
+ return this.objects(ACP.apply, ObjectMapping.as(Policy), ObjectMapping.as(Policy))
10
}
11
0 commit comments