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

image proxy 403, viewDiscussions is now viewForum #16

Closed
clarkwinkelmann opened this issue Jul 18, 2021 · 1 comment · Fixed by #19
Closed

image proxy 403, viewDiscussions is now viewForum #16

clarkwinkelmann opened this issue Jul 18, 2021 · 1 comment · Fixed by #19
Assignees
Labels
bug Something isn't working

Comments

@clarkwinkelmann
Copy link
Member

Bug Report

Current Behavior
Non-admins can't use the image proxy.

Screenshots
image

Possible solution(s)
We use viewDiscussions permission which as renamed to viewForum in Flarum.

$actor->assertCan('viewDiscussions');

Additional Context
Report https://discuss.flarum.org/d/17771-friendsofflarum-secure-https/29

@clarkwinkelmann clarkwinkelmann added the bug Something isn't working label Jul 18, 2021
@fdelapena
Copy link

The proposed patch works for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants