Skip to content

Commit

Permalink
Give demo user access to register
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Feb 5, 2024
1 parent c5f93ba commit 34ebf2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions post-install.xql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ sm:chown(xs:anyURI($target || "/data/dts"), "tei-demo"),
sm:chgrp(xs:anyURI($target || "/data/dts"), "tei"),
sm:chmod(xs:anyURI($target || "/data/annotate"), "rwxrwxr-x"),
sm:chown(xs:anyURI($target || "/data/annotate"), "tei-demo"),
sm:chown(xs:anyURI($target || "/data/registers"), "tei-demo"),
for $resource in xmldb:get-child-resources($target || "/data/registers")
return
sm:chown(xs:anyURI($target || "/data/registers/" || $resource), "tei-demo"),
sm:chmod(xs:anyURI($target || "/data/jats"), "rwxrwxr-x"),
sm:chown(xs:anyURI($target || "/data/jats"), "tei-demo"),
xmldb:create-collection($target || "/data", "temp"),
Expand Down

0 comments on commit 34ebf2c

Please sign in to comment.