WatWowMap / ReactMap

Pokemon GO Map frontend built with React
MIT License
122 stars 61 forks source link

respect poracle everythingFlagPermissions #417

Open dkmur opened 2 years ago

dkmur commented 2 years ago
    // everythingFlagPermissions defines how the 'everything' flag is treated by the !track command.
    //    allow-any: the use of everything is unrestricted, it is recorded as a wildcard, and users can use 'individually' to get individual rows
    //    allow-and-always-individually: the use of everything is unrestricted and recorded as individual rows for each pokemon tracked
    //    allow-and-ignore-individually: the use of everything is unrestricted but users can't opt for individual tracking rows
    //    deny: users cannot track for everything and must track against individual pokemon
      "everythingFlagPermissions": "allow-any",

I have mine set to deny yet when using ReactMap players are able to track everything

TurtIeSocks commented 2 years ago

You only want to deny the ability to add the everything wild card? Because otherwise ReactMap is just too convenient for adding Pokemon, can't really stop them from tracking everything at once.

dkmur commented 2 years ago

Indeed the use of everything should not be possible when flag is set to deny, Ideally when flag is set to deny the buttons apply to all, disable all and enable all aren't even shown in pokemon selection, forcing them to track individual pokemon.