You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
In the run-against-css.sh we have a command to upload .acl file to CSS:
echo Setting root acl in system under test:
echo "@prefix acl: <http://www.w3.org/ns/auth/acl#>. <#alice> a acl:Authorization ; acl:agent <$WEBID_ALICE> ;acl:accessTo </>; acl:default </>; acl:mode acl:Read, acl:Write, acl:Control ." > root-acl.ttl
curl -v -X PUT -H 'Content-Type: text/turtle' -T root-acl.ttl http://localhost:3000/.acl
the curl result returns 401 status code:
{"name":"UnauthorizedHttpError","message":"","statusCode":401,"errorCode":"H401","stack":"UnauthorizedHttpError\n at PermissionBasedAuthorizer.requireModePermission (/workspace/community-server/dist/authorization/PermissionBasedAuthorizer.js:73:23)\n at PermissionBasedAuthorizer.handle (/workspace/community-server/dist/authorization/PermissionBasedAuthorizer.js:38:22)\n at PermissionBasedAuthorizer.handleSafe (/workspace/community-server/dist/util/handlers/AsyncHandler.js:29:21)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async AuthorizingHttpHandler.handle (/workspace/community-server/dist/server/AuthorizingHttpHandler.js:36:13)\n at async ParsingHttpHandler.handle (/workspace/community-server/dist/server/ParsingHttpHandler.js:29:22)\n at async RouterHandler.handle (/workspace/community-server/dist/server/util/RouterHandler.js:43:9)\n at async SequenceHandler.handle (/workspace/community-server/dist/util/handlers/SequenceHandler.js:27:26)\n * Connection #0 to host localhost left intact
at async Server.<anonymous> (/workspace/community-server/dist/server/BaseHttpServerFactory.js:33:17)"}
The filing test checks for existing of .acl file.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One test of WAC is failing:
The text was updated successfully, but these errors were encountered: