Commit Graph

89 Commits

Author SHA1 Message Date
Simone Persiani
16ebfb329f refactor: Refactor WebAclAuthorizer
Co-Authored-By: Ludovico Granata <Ludogranata@gmail.com>
2021-08-23 16:39:25 +02:00
Simone Persiani
c13c03ef54 feat: Add function readableToQuads
Co-Authored-By: Ludovico Granata <Ludogranata@gmail.com>
2021-08-23 16:39:25 +02:00
Joachim Van Herwegen
f4833d2534 feat: Create PathBasedAuthorizer 2021-07-27 14:31:02 +02:00
Joachim Van Herwegen
d95db60fe1 feat: Create DenyAllAuthorizer 2021-07-27 14:31:02 +02:00
Joachim Van Herwegen
dee382849d refactor: Rename AllowEverythingAuthorizer to AllowAllAuthorizer 2021-07-27 14:31:02 +02:00
Ruben Verborgh
6495d650c2 chore: Use consistent strategy naming. 2021-07-21 23:37:23 +02:00
Joachim Van Herwegen
e43b579ae7 fix: Throw internal error with invalid ACL. 2021-07-16 16:42:32 +02:00
Ruben Verborgh
0f22fb5ddb refactor: Clarify WebACL algorithm. 2021-05-17 09:41:24 +02:00
Michiel de Jong
91791a0a14 Fix #621: acl:AuthenticatedAgent instead of foaf:AuthenticatedAgent 2021-02-18 15:28:29 +01:00
Joachim Van Herwegen
f2f265c586 feat: Let Authorizers output an Authorization 2021-02-18 14:13:47 +01:00
Joachim Van Herwegen
7f34fe6ae3 feat: Create separate authorizer for auxiliary functions 2021-02-18 13:26:08 +01:00
Joachim Van Herwegen
8339413ab4 feat: Add permissions extractor for acl resources 2021-02-18 13:26:08 +01:00
Joachim Van Herwegen
758f5ed083 feat: Generalize AclManager to AuxiliaryManager 2021-02-18 13:26:08 +01:00
Ruben Verborgh
eb1440851a refactor: Move handlers into subfolder. 2021-01-27 11:29:35 +01:00
Joachim Van Herwegen
e752927171 fix: Remove all instanceof checks
This prevents problems with different environments.
Also introduces unit tests to double check HttpError values.
2021-01-25 16:11:43 +01:00
Ruben Verborgh
7dcde1e0e3 refactor: Improve logging for access control. 2021-01-15 18:25:37 +01:00
Joachim Van Herwegen
ee50f40062 docs: Add comments referencing the Solid spec where relevant
Also some minor changes to completely match the spec there.
2021-01-15 08:42:36 +01:00
Joachim Van Herwegen
61aa2e12bd fix: Update acl authorizer to make write rights imply append rights 2021-01-11 09:05:41 +01:00
Ruben Verborgh
4828912593 refactor: Use record for representation preference. 2021-01-04 23:06:52 +01:00
Ruben Verborgh
8e138c36d1 refactor: Use types to create vocabularies. 2021-01-02 22:56:25 +01:00
Ruben Verborgh
1cf1167261 test: Use Components.js in Authorization. 2020-12-22 00:33:33 +01:00
Joachim Van Herwegen
f0db9e501f refactor: Replace getParentContainer util function with ContainerManager 2020-12-11 12:42:17 +01:00
Ruben Verborgh
74415cf49b fix: Align webId capitalization. 2020-12-01 23:35:11 +01:00
Joachim Van Herwegen
ee312910d7 fix: Correctly handle acl behaviour for acl identifiers 2020-11-25 09:04:55 +01:00
Joachim Van Herwegen
1073c2ff4c refactor: Clean up utility functions 2020-11-18 17:19:53 +01:00
Ruben Verborgh
1a45b65df7 refactor: Implement empty canHandle on base class. (#289) 2020-10-30 17:56:39 +01:00
smessie
99464d9a95 feat: Add logging
* feat: Add logging

* refactor: Configure the logger for the tests once globally

* feat: Add logging

* fix: Fix ESLint errors due to merge conflicts

* Review log and error messages.

* refactor: Cleanup a bit

* refactor: Change to logger info calls

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-10-26 10:31:01 +01:00
Joachim Van Herwegen
9657fbafb1 refactor: Update eslint related dependencies 2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
85df2e5d7f refactor: Make URI constants consistent 2020-09-16 13:18:58 +02:00
Ruben Verborgh
85e3117efe refactor: Drop CONTENT_TYPE prefix 2020-09-03 09:52:48 +02:00
Joachim Van Herwegen
199d657097 refactor: Remove overused "Simple" prefix 2020-09-02 15:42:13 +02:00
Ruben Taelman
48740e5cba style: improve linting of imports
A new plugin is used that offers autofixing capabilities.
2020-08-26 13:20:19 +02:00
Joachim Van Herwegen
0545ca121e feat: Add acl support 2020-08-18 10:32:07 +02:00
Joachim Van Herwegen
4ac9e92d06 fix: Remove all instances of return undefined
Resolves #26
2020-07-23 08:52:44 +02:00
Joachim Van Herwegen
fe11f4b1ce fix: add documentation for many classes where it was missing 2020-07-02 10:15:01 +02:00
Joachim Van Herwegen
d983fca8f5 feat: add simple permissions related handlers 2020-06-24 14:08:56 +02:00
Joachim Van Herwegen
4229932a3a feat: add CompositeAsyncHandler to support multiple handlers 2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
cc8f965495 fix: clean up structure using more AsyncHandlers and more folders 2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
a4f2b3995c feat: add additional supported interfaces
This includes the relevant auth headers and a simplification of several others.
2020-05-25 11:27:23 +02:00