-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
Guests can see user profile regardless of the permission "view user list" #1680
Comments
This is a regression caused by 40e4c0a. It turns out that the So plan of attack from here:
|
New permissions should be thoroughly scrutinised in the future, in my opinion the |
Bug Report
Related to #1676 and https://discuss.flarum.org/d/17835-the-requested-resource-was-not-found-on-refresh and cuz toby asked me to 😛
Current Behavior
Guests can view user profiles regardless of the permission "view user list". It only triggers the permission on refreshing the page of a user or when directly navigating to a user profile url.
Steps to Reproduce
Optional:
7. Refresh the page or navigate directly to a user profile and see it working nonetheless, but displaying a vague error.
Expected Behavior
The requested resource was not found
and not some kind ofPermission denied
errorEnvironment
The text was updated successfully, but these errors were encountered: