Skip to content

Filter "standing in" regions list by permission access. Fixes #2262#2293

Open
me4502 wants to merge 2 commits into
version/7.0.xfrom
fix/filter-suggested-region-list-by-permissions
Open

Filter "standing in" regions list by permission access. Fixes #2262#2293
me4502 wants to merge 2 commits into
version/7.0.xfrom
fix/filter-suggested-region-list-by-permissions

Conversation

@me4502

@me4502 me4502 commented Jul 11, 2026

Copy link
Copy Markdown
Member

This PR fixes #2262 by filtering the list of available regions in "checkRegionStandingIn" by a permission lookup. While leaking the region names isn't much of a big deal, it can be confusing to the user to see a list of regions they do not have access to. This filters the list by what the player can actually use.

Don't need to permission gate global here as it's never displayed to the player, and worst case if returned it'll be hit by the permissions check in the actual command.

@me4502 me4502 requested a review from a team July 11, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rg info exposes region names

1 participant