fix: cercumvent caching link headers

main
Jackson Morgan 11 months ago
parent d9b90e84b4
commit d8e57bf41d
  1. 1
      packages/solid/data/.internal/accounts/cookies/450beee4-f1e4-49e9-bdc8-80fa1a58bdc9$.json
  2. 1
      packages/solid/data/.internal/accounts/cookies/7a1daea8-2303-40db-9eec-4590be157a3f$.json
  3. 1
      packages/solid/data/.internal/accounts/cookies/a89dc203-977b-42a8-a34e-b7367cff6d4f$.json
  4. 1
      packages/solid/data/.internal/accounts/cookies/b3c54a3c-1e7b-4e28-8125-c00a6ed4efa4$.json
  5. 1
      packages/solid/data/.internal/accounts/cookies/c92558c9-d934-4df6-a2d8-05ac422a1cda$.json
  6. 1
      packages/solid/data/.internal/accounts/cookies/cd31ac8d-83cc-4a09-a9c6-fbc04b742ef1$.json
  7. 1
      packages/solid/data/.internal/accounts/data/191cce28-0565-45ad-8197-ac93274b1cc8$.json
  8. 1
      packages/solid/data/.internal/accounts/data/34e50d51-3289-44ed-803b-d13cac828e67$.json
  9. 1
      packages/solid/data/.internal/accounts/data/6d106d5a-de74-46ba-8344-88cc3a3e211c$.json
  10. 1
      packages/solid/data/.internal/accounts/data/81142f83-8e79-41c8-b640-b3987affb332$.json
  11. 1
      packages/solid/data/.internal/accounts/data/92373c16-6b7e-4015-a420-5378eb048fbf$.json
  12. 1
      packages/solid/data/.internal/accounts/data/9edfd28e-a3ae-4053-b1c0-26ffb429d6b4$.json
  13. 1
      packages/solid/data/.internal/accounts/data/c306d632-6118-4a3d-8a56-c09369c9779d$.json
  14. 1
      packages/solid/data/.internal/accounts/data/ff4002c6-60d7-4870-bada-e8c4f7da0337$.json
  15. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/00d969f6-9c70-4a68-bc66-c9a9ae2bbc51$.json
  16. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/27f3ca7d-bd5d-40ce-82a2-b787fcbb6d3e$.json
  17. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/50af9912-5e3d-4d55-a89c-5e68ea00ea0e$.json
  18. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/91cfd3ad-94d7-446c-a028-2d7455f24372$.json
  19. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/9a826876-5e2f-407f-b18a-01d76e725b1a$.json
  20. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/db26f5ef-67c0-4825-925a-2b0aa5cbc137$.json
  21. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_059ce8f7-11b7-4cdc-a603-1d7a33782396$.json
  22. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_1572fd33-3a25-46db-9bf3-e8208795bec1$.json
  23. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_3367c8f0-aaf9-4e6b-9d05-9b3709451619$.json
  24. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_9e4209c2-3c2d-4a2e-b316-29b20521395c$.json
  25. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_c16dfd24-3be1-4f26-af2a-cab17130fd1a$.json
  26. 1
      packages/solid/data/.internal/accounts/index/clientCredentials/label/my-token_e2740655-2bf9-4a6e-af7e-c80f2dfa4598$.json
  27. 1
      packages/solid/data/.internal/accounts/index/owner/65ae4c0a-19ee-4f4e-83c8-ad9a54b2f734$.json
  28. 1
      packages/solid/data/.internal/accounts/index/password/26b43e06-07cd-4df5-b736-bc1504708497$.json
  29. 1
      packages/solid/data/.internal/accounts/index/password/email/hello@example.com$.json
  30. 1
      packages/solid/data/.internal/accounts/index/pod/9226e0b2-509c-4f0e-9bad-a42c03d20918$.json
  31. 1
      packages/solid/data/.internal/accounts/index/pod/baseUrl/http%3A%2F%2Flocalhost%3A3001%2Fexample%2F$.json
  32. 1
      packages/solid/data/.internal/accounts/index/webIdLink/b7b8eba6-1032-4c5d-9415-a5cac3a3f1f5$.json
  33. 1
      packages/solid/data/.internal/accounts/index/webIdLink/webId/http%3A%2F%2Flocalhost%3A3001%2Fexample%2Fprofile%2Fcard#me$.json
  34. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/1lYj48d0CsJZTY-m47c1_sYK5_gKhR4lABdyVYd2x_s$.json
  35. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/NRlNtr-LFERLgLPoj4I45Xws1-W7qGsLUrkfDnGwdw0$.json
  36. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/YcfNn2uXKndCasXru4ZnylbZK10Cz3abGo5Z9-nXs50$.json
  37. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/cW9Z8Zhm4h60lGJ8BDZWZgxxJzyVyR7SId5qRQGFPz8$.json
  38. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/dmps2BxrNCLoJV3TP-nnMgjS9h8IZvlaPo59t7dC6Dc$.json
  39. 1
      packages/solid/data/.internal/idp/adapter/ReplayDetection/lUhGypywQ4FIP9V_QjecQ2eHReonuqpNCfMKuCMM90c$.json
  40. 1
      packages/solid/data/.internal/idp/keys/cookie-secret$.json
  41. 1
      packages/solid/data/.internal/idp/keys/jwks$.json
  42. 1
      packages/solid/data/.internal/setup/current-base-url$.json
  43. 1
      packages/solid/data/.internal/setup/current-server-version$.json
  44. 1
      packages/solid/data/.internal/setup/v6-migration$.json
  45. 26
      packages/solid/data/example/.acl
  46. 1
      packages/solid/data/example/.meta
  47. 27
      packages/solid/data/example/README$.markdown
  48. 14
      packages/solid/data/example/README.acl
  49. 12
      packages/solid/data/example/profile/card$.ttl
  50. 19
      packages/solid/data/example/profile/card.acl
  51. 5
      packages/solid/src/requester/requests/checkRootContainer.ts
  52. 43
      packages/solid/test/configs/server-config.json

@ -0,0 +1 @@
{"key":"accounts/cookies/450beee4-f1e4-49e9-bdc8-80fa1a58bdc9","payload":{"expires":"2024-11-09T01:22:46.012Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/cookies/7a1daea8-2303-40db-9eec-4590be157a3f","payload":{"expires":"2024-11-05T20:04:15.682Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/cookies/a89dc203-977b-42a8-a34e-b7367cff6d4f","payload":{"expires":"2024-11-09T01:23:27.686Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/cookies/b3c54a3c-1e7b-4e28-8125-c00a6ed4efa4","payload":{"expires":"2024-11-05T19:53:16.041Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/cookies/c92558c9-d934-4df6-a2d8-05ac422a1cda","payload":{"expires":"2024-11-05T20:05:28.958Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/cookies/cd31ac8d-83cc-4a09-a9c6-fbc04b742ef1","payload":{"expires":"2024-11-05T20:06:17.832Z","payload":"ff4002c6-60d7-4870-bada-e8c4f7da0337"}}

@ -0,0 +1 @@
{"key":"accounts/data/191cce28-0565-45ad-8197-ac93274b1cc8","payload":{"linkedLoginsCount":0,"id":"191cce28-0565-45ad-8197-ac93274b1cc8","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/34e50d51-3289-44ed-803b-d13cac828e67","payload":{"linkedLoginsCount":0,"id":"34e50d51-3289-44ed-803b-d13cac828e67","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/6d106d5a-de74-46ba-8344-88cc3a3e211c","payload":{"linkedLoginsCount":0,"id":"6d106d5a-de74-46ba-8344-88cc3a3e211c","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/81142f83-8e79-41c8-b640-b3987affb332","payload":{"linkedLoginsCount":0,"id":"81142f83-8e79-41c8-b640-b3987affb332","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/92373c16-6b7e-4015-a420-5378eb048fbf","payload":{"linkedLoginsCount":0,"id":"92373c16-6b7e-4015-a420-5378eb048fbf","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/9edfd28e-a3ae-4053-b1c0-26ffb429d6b4","payload":{"linkedLoginsCount":0,"id":"9edfd28e-a3ae-4053-b1c0-26ffb429d6b4","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/c306d632-6118-4a3d-8a56-c09369c9779d","payload":{"linkedLoginsCount":0,"id":"c306d632-6118-4a3d-8a56-c09369c9779d","**password**":{},"**clientCredentials**":{},"**pod**":{},"**webIdLink**":{}}}

@ -0,0 +1 @@
{"key":"accounts/data/ff4002c6-60d7-4870-bada-e8c4f7da0337","payload":{"linkedLoginsCount":1,"id":"ff4002c6-60d7-4870-bada-e8c4f7da0337","**password**":{"26b43e06-07cd-4df5-b736-bc1504708497":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","email":"hello@example.com","password":"$2a$10$4VIB6Y1zNtk/BMlX8DbJeu1vKTay08VT1XiDAu/U2xqXwwrpT68fC","verified":true,"id":"26b43e06-07cd-4df5-b736-bc1504708497"}},"**clientCredentials**":{"db26f5ef-67c0-4825-925a-2b0aa5cbc137":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_3367c8f0-aaf9-4e6b-9d05-9b3709451619","webId":"http://localhost:3001/example/profile/card#me","secret":"9004efdb0e12e1942a96a63c421fc584d8871f2331f995ec43500a7ff060437aaaeaa9422e26a33cfec3c693a1b764c091a44b65bab8a0e6968409efcac155d5","id":"db26f5ef-67c0-4825-925a-2b0aa5cbc137"},"00d969f6-9c70-4a68-bc66-c9a9ae2bbc51":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_9e4209c2-3c2d-4a2e-b316-29b20521395c","webId":"http://localhost:3001/example/profile/card#me","secret":"87c4379db6c917b194057fdb5d54fb923a1ae8df1187d386e42f3d14836eab9570979a4f1686c7f92bcdfd2322e8ae92e744fa7bba6b258d657d4490bbf02cba","id":"00d969f6-9c70-4a68-bc66-c9a9ae2bbc51"},"91cfd3ad-94d7-446c-a028-2d7455f24372":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_059ce8f7-11b7-4cdc-a603-1d7a33782396","webId":"http://localhost:3001/example/profile/card#me","secret":"da35d1ef569f650aed7d119b55eaf013af3fd12c81b2953b573ea474226977f566f95c015c465e2c54070aaf9b558b693869e9c82c423116dae1744aef21c06e","id":"91cfd3ad-94d7-446c-a028-2d7455f24372"},"27f3ca7d-bd5d-40ce-82a2-b787fcbb6d3e":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_1572fd33-3a25-46db-9bf3-e8208795bec1","webId":"http://localhost:3001/example/profile/card#me","secret":"503cca23d7546e4c36e1461b073f312237991fe9217bcae9615dc7d5ca6466431fd9efb1192a57871b29e1b92c0315bfdc9b7314ff41094e8b20d18beb0e9faa","id":"27f3ca7d-bd5d-40ce-82a2-b787fcbb6d3e"},"50af9912-5e3d-4d55-a89c-5e68ea00ea0e":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_e2740655-2bf9-4a6e-af7e-c80f2dfa4598","webId":"http://localhost:3001/example/profile/card#me","secret":"b7234bedc23ed0878aa56e8c38fe1337ab41d63702c015691643516fb5eded714590059138392d7b836d7e0d016c05f063ab9a7d467d0a10c08c82c808d1bbe5","id":"50af9912-5e3d-4d55-a89c-5e68ea00ea0e"},"9a826876-5e2f-407f-b18a-01d76e725b1a":{"accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","label":"my-token_c16dfd24-3be1-4f26-af2a-cab17130fd1a","webId":"http://localhost:3001/example/profile/card#me","secret":"f28f9b4cbff769d0b7008766d0bfb2389c1feae7c099be4b0e5a1dff84e2027e64fb73662a46eb0d29c6807819fd829d67255b028a3cceb39fb206ecc56c4b71","id":"9a826876-5e2f-407f-b18a-01d76e725b1a"}},"**pod**":{"9226e0b2-509c-4f0e-9bad-a42c03d20918":{"baseUrl":"http://localhost:3001/example/","accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","id":"9226e0b2-509c-4f0e-9bad-a42c03d20918","**owner**":{"65ae4c0a-19ee-4f4e-83c8-ad9a54b2f734":{"podId":"9226e0b2-509c-4f0e-9bad-a42c03d20918","webId":"http://localhost:3001/example/profile/card#me","visible":false,"id":"65ae4c0a-19ee-4f4e-83c8-ad9a54b2f734"}}}},"**webIdLink**":{"b7b8eba6-1032-4c5d-9415-a5cac3a3f1f5":{"webId":"http://localhost:3001/example/profile/card#me","accountId":"ff4002c6-60d7-4870-bada-e8c4f7da0337","id":"b7b8eba6-1032-4c5d-9415-a5cac3a3f1f5"}},"rememberLogin":false}}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/00d969f6-9c70-4a68-bc66-c9a9ae2bbc51","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/27f3ca7d-bd5d-40ce-82a2-b787fcbb6d3e","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/50af9912-5e3d-4d55-a89c-5e68ea00ea0e","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/91cfd3ad-94d7-446c-a028-2d7455f24372","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/9a826876-5e2f-407f-b18a-01d76e725b1a","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/db26f5ef-67c0-4825-925a-2b0aa5cbc137","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_059ce8f7-11b7-4cdc-a603-1d7a33782396","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_1572fd33-3a25-46db-9bf3-e8208795bec1","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_3367c8f0-aaf9-4e6b-9d05-9b3709451619","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_9e4209c2-3c2d-4a2e-b316-29b20521395c","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_c16dfd24-3be1-4f26-af2a-cab17130fd1a","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/clientCredentials/label/my-token_e2740655-2bf9-4a6e-af7e-c80f2dfa4598","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/owner/65ae4c0a-19ee-4f4e-83c8-ad9a54b2f734","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/password/26b43e06-07cd-4df5-b736-bc1504708497","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/password/email/hello%40example.com","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/pod/9226e0b2-509c-4f0e-9bad-a42c03d20918","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/pod/baseUrl/http%3A%2F%2Flocalhost%3A3001%2Fexample%2F","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/webIdLink/b7b8eba6-1032-4c5d-9415-a5cac3a3f1f5","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"accounts/index/webIdLink/webId/http%3A%2F%2Flocalhost%3A3001%2Fexample%2Fprofile%2Fcard%23me","payload":["ff4002c6-60d7-4870-bada-e8c4f7da0337"]}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/1lYj48d0CsJZTY-m47c1_sYK5_gKhR4lABdyVYd2x_s","payload":{"expires":"2024-10-26T01:28:27.795Z","payload":{"iat":1729905807,"exp":1729906107,"iss":"my-token_c16dfd24-3be1-4f26-af2a-cab17130fd1a","kind":"ReplayDetection","jti":"1lYj48d0CsJZTY-m47c1_sYK5_gKhR4lABdyVYd2x_s"}}}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/NRlNtr-LFERLgLPoj4I45Xws1-W7qGsLUrkfDnGwdw0","payload":{"expires":"2024-10-26T01:27:46.194Z","payload":{"iat":1729905766,"exp":1729906066,"iss":"my-token_e2740655-2bf9-4a6e-af7e-c80f2dfa4598","kind":"ReplayDetection","jti":"NRlNtr-LFERLgLPoj4I45Xws1-W7qGsLUrkfDnGwdw0"}}}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/YcfNn2uXKndCasXru4ZnylbZK10Cz3abGo5Z9-nXs50","payload":{"expires":"2024-10-22T20:11:17.928Z","payload":{"iat":1729627577,"exp":1729627877,"iss":"my-token_1572fd33-3a25-46db-9bf3-e8208795bec1","kind":"ReplayDetection","jti":"YcfNn2uXKndCasXru4ZnylbZK10Cz3abGo5Z9-nXs50"}}}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/cW9Z8Zhm4h60lGJ8BDZWZgxxJzyVyR7SId5qRQGFPz8","payload":{"expires":"2024-10-22T20:10:29.013Z","payload":{"iat":1729627529,"exp":1729627829,"iss":"my-token_059ce8f7-11b7-4cdc-a603-1d7a33782396","kind":"ReplayDetection","jti":"cW9Z8Zhm4h60lGJ8BDZWZgxxJzyVyR7SId5qRQGFPz8"}}}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/dmps2BxrNCLoJV3TP-nnMgjS9h8IZvlaPo59t7dC6Dc","payload":{"expires":"2024-10-22T20:09:15.795Z","payload":{"iat":1729627455,"exp":1729627755,"iss":"my-token_9e4209c2-3c2d-4a2e-b316-29b20521395c","kind":"ReplayDetection","jti":"dmps2BxrNCLoJV3TP-nnMgjS9h8IZvlaPo59t7dC6Dc"}}}

@ -0,0 +1 @@
{"key":"idp/adapter/ReplayDetection/lUhGypywQ4FIP9V_QjecQ2eHReonuqpNCfMKuCMM90c","payload":{"expires":"2024-10-22T19:58:16.141Z","payload":{"iat":1729626796,"exp":1729627096,"iss":"my-token_3367c8f0-aaf9-4e6b-9d05-9b3709451619","kind":"ReplayDetection","jti":"lUhGypywQ4FIP9V_QjecQ2eHReonuqpNCfMKuCMM90c"}}}

@ -0,0 +1 @@
{"key":"idp/keys/cookie-secret","payload":["8ab7878c5e9a81ead0d947d77c9b650935f36f024771c6e25546d27488292b63c81a043ea9e3a3a90e04d310e2df7a84df908765d6321bdbbbc6caed4d24acf9"]}

@ -0,0 +1 @@
{"key":"idp/keys/jwks","payload":{"keys":[{"kty":"EC","x":"kt45ZfNTgl_YXdtZ14e5bbi-W4wZ-10GElokA1ybfBg","y":"7b5VQ7EZmCvGIe3yyx4kStCUWmCesRht0Wpo5IMrqGI","crv":"P-256","d":"Z6ci6jVZiniY0sgMQ3eenMQdlU1y4RD007wzI6xtJWY","alg":"ES256"}]}}

@ -0,0 +1 @@
{"key":"setup/current-base-url","payload":"http://localhost:3001/"}

@ -0,0 +1 @@
{"key":"setup/current-server-version","payload":"7.1.3"}

@ -0,0 +1 @@
{"key":"setup/v6-migration","payload":true}

@ -0,0 +1,26 @@
# Root ACL resource for the agent account
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
# The homepage is readable by the public
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:accessTo <./>;
acl:mode acl:Read.
# The owner has full access to every resource in their pod.
# Other agents have no access rights,
# unless specifically authorized in other .acl resources.
<#owner>
a acl:Authorization;
acl:agent <http://localhost:3001/example/profile/card#me>;
# Optional owner email, to be used for account recovery:
# Set the access to the root storage folder itself
acl:accessTo <./>;
# All resources will inherit this authorization, by default
acl:default <./>;
# The owner has all of the access modes allowed
acl:mode
acl:Read, acl:Write, acl:Control.

@ -0,0 +1 @@
<http://localhost:3001/example/> a <http://www.w3.org/ns/pim/space#Storage>.

@ -0,0 +1,27 @@
# Welcome to your pod
## A place to store your data
Your pod is a **secure storage space** for your documents and data.
<br>
You can choose to share those with other people and apps.
As the owner of this pod,
identified by <a href="http://localhost:3001/example/profile/card#me">http://localhost:3001/example/profile/card#me</a>,
you have access to all of your documents.
## Working with your pod
The easiest way to interact with pods
is through Solid apps.
<br>
For example,
you can open your pod in [Databrowser](https://solidos.github.io/mashlib/dist/browse.html?uri=http://localhost:3001/example/).
## Accessing your account
To keep track of your pods, webIDs and any other resources,
you can [log in](http://localhost:3001/.account/) to your account.
There you can, for example, update the owners of this pod.
## Learn more
The [Solid website](https://solidproject.org/)
and the people on its [forum](https://forum.solidproject.org/)
will be glad to help you on your journey.

@ -0,0 +1,14 @@
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
<#public>
a acl:Authorization;
acl:accessTo <./README>;
acl:agentClass foaf:Agent;
acl:mode acl:Read.
<#owner>
a acl:Authorization;
acl:accessTo <./README>;
acl:agent <http://localhost:3001/example/profile/card#me>;
acl:mode acl:Read, acl:Write, acl:Control.

@ -0,0 +1,12 @@
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix solid: <http://www.w3.org/ns/solid/terms#>.
<>
a foaf:PersonalProfileDocument;
foaf:maker <http://localhost:3001/example/profile/card#me>;
foaf:primaryTopic <http://localhost:3001/example/profile/card#me>.
<http://localhost:3001/example/profile/card#me>
solid:oidcIssuer <http://localhost:3001/>;
a foaf:Person.

@ -0,0 +1,19 @@
# ACL resource for the WebID profile document
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
# The WebID profile is readable by the public.
# This is required for discovery and verification,
# e.g. when checking identity providers.
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:accessTo <./card>;
acl:mode acl:Read.
# The owner has full access to the profile
<#owner>
a acl:Authorization;
acl:agent <http://localhost:3001/example/profile/card#me>;
acl:accessTo <./card>;
acl:mode acl:Read, acl:Write, acl:Control.

@ -85,7 +85,10 @@ export async function checkRootContainer(
try {
const fetch = guaranteeFetch(options?.fetch);
// Fetch options to determine the document type
const response = await fetch(uri, { method: "HEAD" });
// Note cache: "no-store": we don't want to depend on cached results because
// web browsers do not cache link headers
// https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1959
const response = await fetch(uri, { method: "HEAD", cache: "no-store" });
const httpErrorResult = HttpErrorResult.checkResponse(uri, response);
if (httpErrorResult) return httpErrorResult;

@ -0,0 +1,43 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld"
],
"import": [
"css:config/app/init/static-root.json",
"css:config/app/main/default.json",
"css:config/app/variables/default.json",
"css:config/http/handler/default.json",
"css:config/http/middleware/default.json",
"css:config/http/notifications/all.json",
"css:config/http/server-factory/http.json",
"css:config/http/static/default.json",
"css:config/identity/access/public.json",
"css:config/identity/email/default.json",
"css:config/identity/handler/default.json",
"css:config/identity/oidc/default.json",
"css:config/identity/ownership/token.json",
"css:config/identity/pod/static.json",
"css:config/ldp/authentication/dpop-bearer.json",
"css:config/ldp/authorization/webacl.json",
"css:config/ldp/handler/default.json",
"css:config/ldp/metadata-parser/default.json",
"css:config/ldp/metadata-writer/default.json",
"css:config/ldp/modes/default.json",
"css:config/storage/backend/file.json",
"css:config/storage/key-value/resource-store.json",
"css:config/storage/location/pod.json",
"css:config/storage/middleware/default.json",
"css:config/util/auxiliary/acl.json",
"css:config/util/identifiers/suffix.json",
"css:config/util/index/default.json",
"css:config/util/logging/winston.json",
"css:config/util/representation-conversion/default.json",
"css:config/util/resource-locker/file.json",
"css:config/util/variables/default.json"
],
"@graph": [
{
"comment": "A Solid server that stores its resources on disk and uses WAC for authorization."
}
]
}
Loading…
Cancel
Save