Moerill / fvtt-chat-notifications

MIT License
9 stars 6 forks source link

[BUG] Error: User Player permission error #9

Closed Mattrogers13 closed 3 years ago

Mattrogers13 commented 3 years ago

Describe the bug Error on the player side after clicking save and close in the module settings.

Error Message Console information

Error: User Player Test lacks permission to update the World setting chat-notifications.4dP7AFD01OH1aqUz
foundry.js:3780:13
Uncaught (in promise) **Error: User Player Test lacks permission to update the World setting chat-notifications.4dP7AFD01OH1aqUz**

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Configure Settings'
  2. Go to the 'Module Settings' tab
  3. Click on the 'Settings' button on the 'Hey, Listen - Chat Notifications' module.
  4. Click "Save & Close"
  5. Player sees displayed error on screen: Error: User Player Test lacks permission to update the World setting chat-notifications.4dP7AFD01OH1aqUz

Expected behavior Expected no error to occur, however, it seems that the setting does take place and that the error message is the only issue.

Module incompatibilities All modules have been turned off when reproducing this error.

Screenshots/GIFs/Videos WjvtQmv

Desktop (please complete the following information):

Additional context The module seems to still work besides throwing up an error. Not sure if it's a permissions thing on my end or not.

Moerill commented 3 years ago

Should be fixed no in 1.2.2 Though settings now are client side, so changing browser/pc will reset them