WatWowMap / ReactMap

Pokemon GO Map frontend built with React
MIT License
129 stars 64 forks source link

Let specific perms skip area restrictions for specific roles #438

Open kamieniarz opened 2 years ago

kamieniarz commented 2 years ago

Lets say I have roles that have access to all perms but they're restricted by areas. I'd like to give all these roles an option to see all gyms, pokestops, portals, s2 cells, gym badges without any area restrictions and obviously without raids, quests, invasions etc.

I think this would be a cool feature for all users

TurtIeSocks commented 2 years ago

To make sure I'm understanding...

=> Role A has access to every permission but is restricted to a certain area. => You would like Role A to be able to see gyms (or whatever else) everywhere but restrict the other perms to only the allowed areas?

This might be similar to what @lenisko's goals from a while back?

lenisko commented 2 years ago

Yaa, sounds related to https://github.com/WatWowMap/ReactMap/pull/126 I have no time to dig into it, though. Can't say when I'll have.

kamieniarz commented 2 years ago

To make sure I'm understanding...

=> Role A has access to every permission but is restricted to a certain area. => You would like Role A to be able to see gyms (or whatever else) everywhere but restrict the other perms to only the allowed areas?

This might be similar to what @lenisko's goals from a while back?

That's right, but actually it's not that necessary atm ;)