Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

FIX: Use Guardian.basic_user instead of new (anon) #97

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

martin-brennan
Copy link
Contributor

c.f. discourse/discourse@de98379

There will soon be additional login_required checks
for Guardian, and the intent of many checks by automated
systems is better fulfilled by using BasicUser, which
simulates a logged in TL0 forum user, rather than an
anon user.

c.f. discourse/discourse@de98379

There will soon be additional login_required checks
for Guardian, and the intent of many checks by automated
systems is better fulfilled by using BasicUser, which
simulates a logged in TL0 forum user, rather than an
anon user.
Copy link
Contributor

@Drenmi Drenmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@martin-brennan martin-brennan merged commit c049ff4 into main Dec 6, 2023
@martin-brennan martin-brennan deleted the dev/replace-guardian-new-no-args-anon-basic branch December 6, 2023 01:56
martin-brennan added a commit that referenced this pull request Dec 6, 2023
martin-brennan added a commit that referenced this pull request Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants