Background
If IPInfo is a beta feature on some wiki, there are some circumstances under which a user can access IPInfo's API while having the beta feature disabled. This should not be possible: if the beta feature is disabled for a user, they shouldn't have access to any part of it.
See T292802#7613187 for more details.
Acceptance criteria
- If a user has the right to use IPInfo, but has it disabled as a beta feature, they should not be able to access the IPInfo API
Notes
- If a wiki does not have the BetaFeatures extension enabled, IPInfo users with the right to use IPInfo should still be able to access all parts of it