mirror of
https://github.com/plausible/analytics.git
synced 2025-01-01 14:04:46 +03:00
c0fe2a3996
* Include ApiKey functions in Auth context * Make feature notice work without %Site{} Previously the extra feature notice required a %Site{} in order to check the owner plan. However, not every feature is scoped by site, for example the Stats API. For features like this, a %User{} is required, and not a %Site{}. This commit replaces the `:site` param with `:billable_user`, which is common to both site and user-scoped features. * Add stats_api to the list of extra features * Limit API Key creation based on user plan |
||
---|---|---|
.. | ||
external_stats_controller | ||
internal_controller | ||
stats_controller | ||
external_controller_test.exs | ||
external_sites_controller_test.exs | ||
internal_controller_test.exs | ||
paddle_controller_test.exs |