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

Fix issue with this plugin and 2.10 #132

Merged
merged 3 commits into from
May 10, 2024
Merged

Fix issue with this plugin and 2.10 #132

merged 3 commits into from
May 10, 2024

Conversation

jrdh
Copy link
Member

@jrdh jrdh commented May 10, 2024

This "solves" an issue with running this plugin on 2.10 ckan where a method plugins implementing IAuthenticator was expected but wasn't provided by us (specifically authenticate which was added in 2.10.0). By inheriting the IAuthenticator base version we solve this problem for now, in that the plugin should work but it's still implemented in an old fashioned way and we should move to a more modern implementation.

The key change is here: 364cd80, the other changes in this PR relate to detailing the CKAN 2.9 and 2.10 testing information in the readme.

I will test this on our staging site before merging, but both 2.9 and 2.10 tests pass with this change.

Closes #131

jrdh added 3 commits May 10, 2024 15:05
Without this we don't define an "authenticate" method which is then expected in 2.10+ under certain scenarios. This is a temp patch as we should reimplement this library to use this new pathway but for the moment, we haven't had the time.
@jrdh
Copy link
Member Author

jrdh commented May 10, 2024

Confirmed working in 2.9 staging environment.

@jrdh jrdh merged commit 25c0f1b into dev May 10, 2024
3 checks passed
@jrdh jrdh deleted the josh/210issues branch May 10, 2024 14:35
@jrdh jrdh mentioned this pull request May 10, 2024
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.

1 participant