FriendsOfFlarum / mason

Add custom fields to discussions
https://discuss.flarum.org/d/7028
MIT License
21 stars 14 forks source link

Permissions Not Working Correctly #20

Closed FoggyMtnDrifter closed 3 years ago

FoggyMtnDrifter commented 4 years ago

It appears that permissions for Mason aren't quite working. I have it set so that anyone can view the contents of fields on posts, however when logged in as another user (on a separate session), I'm unable to view the contents of the fields. I've included a screenshot of what I see when I'm signed in as admin vs what I see when signed in as another user, and also the configuration on my permissions page.

image Logged in as another user

image Logged in as admin

image Permission settings

Flarum Version: 0.1.0-beta.13 PHP Version: 7.3.23 MySQL Version: 10.5.6-MariaDB

clarkwinkelmann commented 4 years ago

Hi. Thanks for the report. I'm not seeing any obvious problem in the extension itself. On my test forum I'm not experiencing this issue.

Can you share the output of php flarum info so we can see the list of extensions? Did you try disabling some of the extensions?

Based on the information here I'd say it must be either cache-related (but since it works for one user in the same browser, it's unlikely) or maybe it has to do with the preloaded relationships of Mason being messed up by another extension.

clarkwinkelmann commented 3 years ago

I'm closing this issue due to inactivity. Feel free to re-open with additional details if you are still experiencing the problem.