analytics/lib/plausible/plugins/api
RobertJoonas 4e5093f86c
Starter Tier: Shared Link Feature Gates (#5474)
* feature gate creating shared links

* feature gate GET shared_link

* stop granting shared links access in code + organize tests

* allow GET shared_link for WP

* prevent shared link creation with special name

unless created by the Plugins API, the name WordPress - Shared Dashboard
will be considered reserved.

* do not render special shared links in site settings > visibility

* remove hardcoded special name from test

* add function doc for special names

* prevent updates to special name as well

* warn about losing access to shared links

* make features_usage return empty list on ce

* Update lib/plausible/sites.ex

Co-authored-by: hq1 <hq@mtod.org>

* move special name check to changeset

* fix tests

---------

Co-authored-by: hq1 <hq@mtod.org>
2025-06-10 06:43:40 +00:00
..
capabilities.ex Remove team adapters (#4877) 2024-12-05 09:02:09 +00:00
custom_props.ex Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 2023-12-06 12:33:33 +01:00
goals.ex Edit goals with display names (#4415) 2024-08-09 11:12:00 +02:00
shared_links.ex Starter Tier: Shared Link Feature Gates (#5474) 2025-06-10 06:43:40 +00:00
token.ex rm Timex.diff/3 (#4695) 2024-11-04 09:18:04 +00:00
tokens.ex rm Timex.diff/3 (#4695) 2024-11-04 09:18:04 +00:00