Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected the base URL to use when retrieving and setting public access details. #12178

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

AndyButland
Copy link
Contributor

This fixes issue 12177, but there may be a little more investigation needed.

This definitely worked in an earlier V9 version as I have it set up in a local test project, and I haven't figured out where the bug crept in. It's also a little odd that we have these methods defined both on the contentResource (which is being used here), but also on the publicAccessResource, which isn't.

@nul800sebastiaan
Copy link
Member

Fixes #12167 as well

@bergmania
Copy link
Member

bergmania commented Mar 28, 2022

I think we should revert these changed from a merge conflict (Only the contentResource changes):
image

I'm fairly sure this will resolve the issue..

@bergmania
Copy link
Member

I fixed these additional things.. I still think your changes makes sense because that endpoint do not exists on content in v9+. But this is actually less breaking from v8. The alternative would be to remove the functions from the contentResource.

@bergmania bergmania merged commit 1ff6a95 into v9/dev Mar 29, 2022
@bergmania bergmania deleted the v9/bugfix/12177-public-access branch March 29, 2022 07:05
bergmania added a commit that referenced this pull request Mar 29, 2022
…ss details. (#12178)

* Corrected the base URL to use when retrieving and setting public access details.

* Fixed original issue from a merge conflict.. Now using the correct v9+ resource

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
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.

Restrict Public Access 404 Backoffice Restrict Public Access link 404'ing
3 participants