You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/auth
Vini Brasil c0fe2a3996
Implement Stats API feature gate (#3411)
* 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
3 years ago
..
api_key.ex Implement Stats API feature gate (#3411) 3 years ago
api_key_admin.ex Remove IO.inspect 6 years ago
auth.ex Implement Stats API feature gate (#3411) 3 years ago
grace_period.ex Manually lock outgrown enterprise accounts (#2197) 4 years ago
invitation.ex Implement limits for team members (#3305) 3 years ago
password.ex Initial commit 7 years ago
token.ex Bookmarkable shared links (#752) 6 years ago
user.ex Fix email update flow for selfhosted setup with verification disabled (#3408) 3 years ago
user_admin.ex Trigger email reverification on change (#3388) 3 years ago