Skip to content

Making use of new features in acl-check@trusted-app - #1122

Closed
megoth wants to merge 11 commits into
release/v5.0.0from
feature/trusted-app
Closed

megoth wants to merge 11 commits into
release/v5.0.0from
feature/trusted-app

Conversation

@megoth

@megoth megoth commented Mar 3, 2019

Copy link
Copy Markdown
Contributor

This branch is dependent on https://github.com/solid/acl-check/tree/feature/trusted-app and should be merged after #1118.

This should fix #1121.

I've tried to rebase it on release/v5.0.0, but it keeps being stuck on fix/faulty-403. I don't know how to fix this, but this PR should be merged after #1118 anyway.

RubenVerborgh and others added 11 commits March 2, 2019 21:51
We had some faulty handling where we returned 403 even if the user wasn't authenticated. (This fixes #1117.)

1. I discovered some redundant tests in test/integration/authentication-oidc-test.js, and moved some tests into groups for better overview. This makes for a lot of changes, but I think it's worth it.
2. I duplicated authentication-oidc-test into authentication-oidc-with-strict-origins-turned-off-test to make sure we handle those permutations correctly as well. This required a lot of setup, which are all of the new files in this commit.
3. I tried to consolidate the use of getTrustedOrigins in create-app.js, which made a test obsolete
My previous explanation was wrong
@michielbdejong

Copy link
Copy Markdown
Member

I'll have a look at the merge conflicts tomorrow.

michielbdejong pushed a commit to michielbdejong/node-solid-server that referenced this pull request Mar 13, 2019
@michielbdejong

Copy link
Copy Markdown
Member

Continued in #1138

michielbdejong pushed a commit to michielbdejong/node-solid-server that referenced this pull request Mar 15, 2019
michielbdejong added a commit to michielbdejong/node-solid-server that referenced this pull request Mar 15, 2019
adopt acl-check nodeSolidServer#19

fetch the aclDoc before trying to read from it

fix profile fetcher

lint

fix acl file fetch arg

new behavior

s mid
michielbdejong added a commit that referenced this pull request Mar 15, 2019
kjetilk added a commit that referenced this pull request Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants