Skip to content

Commit 73c8316

Browse files
authored
Merge pull request #449 from solid/acl-default
use acl:default when writing ACL, not the depcrecated acl:defaultForNew
2 parents ebc03e4 + a08980b commit 73c8316

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/authn/authn.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,7 @@ function genACLText (
801801
g.add(a, ns.rdf('type'), auth('Authorization'), acl)
802802
g.add(a, auth('accessTo'), doc, acl)
803803
if (options.defaultForNew) {
804-
// TODO: Should this be auth('default') instead?
805-
g.add(a, auth('defaultForNew'), doc, acl)
804+
g.add(a, auth('default'), doc, acl)
806805
}
807806
g.add(a, auth('agent'), me, acl)
808807
g.add(a, auth('mode'), auth('Read'), acl)

0 commit comments

Comments
 (0)