zulip/corporate
Mateusz Mandera 7d0917c3c7 remote_billing: Tweak /self-hosted-billing/ endpoints access model.
It's best for these to just be consistent. Therefore:
1. The .../not-configured/ error page endpoint should be restricted to
   .has_billing_access users only.
2. For consistency, self_hosting_auth_view_common is tweaked to also do
   the .has_billing_access check as the first thing, to avoid revealing
   configuration information via its redirect/error-handling behavior.

The revealed configuration information seems super harmless, but it's
simpler to not have to worry about it and just be consistent.

(cherry picked from commit 7e8c645280)
2024-03-07 15:01:15 -08:00
..
lib requirements: Upgrade Python requirements. 2024-02-16 12:17:34 -08:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations sponsorship: Allow remote orgs to request a plan type. 2023-12-08 11:24:15 -08:00
tests remote_billing: Tweak /self-hosted-billing/ endpoints access model. 2024-03-07 15:01:15 -08:00
views requirements: Upgrade Python requirements. 2024-02-16 12:17:34 -08:00
__init__.py
models.py requirements: Upgrade Python requirements. 2024-02-16 12:17:34 -08:00
urls.py remote_billing: Add endpoint and a helper to make deactivation links. 2023-12-12 13:31:59 -08:00