Hello! The pf2e system uses droppable effects for a lot of system automation, but when those effects are dropped on user tokens this module displays a warning message that the player/user doesn't have permissions to upload files. Here's an example from my campaign:
From debugging, it seems like the warning is being triggered from the DroppableTokensOnCanvas class (decompiled debugger source shown):
Here the user is not a GM and cannot upload, so the warning is logged.
Context
Screenshots and demonstrating the problem if applicable.
Any errors in the console; access it by pressing F12
Whether you ran Find the Culprit and if it was caused by an interaction with another module
Foundry version: 11.315
System and version: pf2e5.16.1
Module version: DFred's Droppables 3.1.1
Browser and hosting service: Firefox, on Forge.
To Reproduce
Steps to reproduce the behavior:
For any non-GM player, cast a spell or use an ability with an effect (e.g. a Bard's Courageous Anthem) and drag that effect to a token
Expected Behavior
The effect should apply to the token and no warnings should be visible to the user.
Describe the Bug
Hello! The pf2e system uses droppable effects for a lot of system automation, but when those effects are dropped on user tokens this module displays a warning message that the player/user doesn't have permissions to upload files. Here's an example from my campaign:
From debugging, it seems like the warning is being triggered from the
DroppableTokensOnCanvas
class (decompiled debugger source shown):Here the user is not a GM and cannot upload, so the warning is logged.
Context
To Reproduce
Steps to reproduce the behavior:
For any non-GM player, cast a spell or use an ability with an effect (e.g. a Bard's Courageous Anthem) and drag that effect to a token
Expected Behavior
The effect should apply to the token and no warnings should be visible to the user.