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/test
Uku Taht 5d4918b66b
Allow admins to grant admin rights (#2216)
* Make sure admin can grant the admin role

* Use `site` and `current_user_role` from conn.assigns to avoid extra lookups

* Add some missing documentation

* Restrict owners in the `update_role` action

* Move @moduledoc to appropriate location

* Use Ecto.Enum to get role atoms

* Remove unused functionality

* Ensure that owners cannot lock themselves out

* Add question mark to `can_grant_role`

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

* Use strict short-circuit operator for booleans

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

Co-authored-by: Adam Rutkowski <hq@mtod.org>
4 years ago
..
load Fix script path for k6 load test (#2068) 4 years ago
plausible Fix timezone input (#2222) 4 years ago
plausible_web Allow admins to grant admin rights (#2216) 4 years ago
support Refactor event struct creation function (#2098) 4 years ago
workers Mark more tests as async 5 years ago
test_helper.exs Add feature flag to block event ingest (#1991) 4 years ago