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

🩹 Do not send link users can't read in problem report resolution #764

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pajowu
Copy link
Member

@pajowu pajowu commented May 6, 2024

No description provided.

@pajowu pajowu requested review from stefanw and krmax44 May 6, 2024 15:46
@pajowu pajowu force-pushed the pajowu/problemreport_dont_sent_unreadable_link branch from dcc5485 to 4469f6d Compare October 8, 2024 13:36
@@ -23,6 +26,14 @@ def inform_managers(report):
)


def can_read(user, foirequest):
request_factory = RequestFactory()
Copy link
Member

Choose a reason for hiding this comment

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

This just feels a bit odd to me. Should we refactor froide/helper/auth.py, such that it takes a user directly, instead of a request object?

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.

2 participants