mirror of
https://github.com/plausible/analytics.git
synced 2025-01-04 07:37:47 +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 |
||
---|---|---|
.. | ||
api | ||
auth_controller | ||
CSVs | ||
site | ||
admin_auth_controller_test.exs | ||
auth_controller_sync_test.exs | ||
auth_controller_test.exs | ||
billing_controller_test.exs | ||
error_report_controller_test.exs | ||
invitation_controller_test.exs | ||
page_controller_test.exs | ||
site_controller_test.exs | ||
stats_controller_test.exs | ||
unsubscribe_controller_test.exs |