0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/ee
Michael Matloka 3a678e7261
Dashboard privilege API and collaborators UI (#8424)
* Add basic `/api/projects/:id/dashboard/:id/collaborators`

* Handle more collaboration cases and add base tests

* Add some collaborators UI to share modal

* Improve Python typing

* Improve TS typing

* Allow addition and deletion of collaborators from UI

* Add upsell prototype

* Improve upsell button

* Add `effective_restriction_level` to `DashboardSerializer`

* Improve `LemonSelect` value handling

* Improve `LemonSelect` behavior when selecting existing value

* Refactor the way privilege level name is determined

* Don't destroy `ShareModal` on close to avoid logic remounting

* Split out upsell into own PR

* Fix TS

* Fix typing

* Increase security with more tests

* Inline `parents_query_dict`

* Dashboard collaborator bubbles (#8450)

* Add collaborator bubbles to restricted dashboard headers

* Rename `index.tsx` to `ProfilePicture.tsx` for readability

* Improve tooltip handling

* Create ProfileBubbles.stories.tsx

* Make collaborator bubbles tooltip dashboard-level

* Always show collaborator bubbles

* Dashboard restrictions (#8462)

* Add frontend-side restrictions editing restrictions to dashboards

* Restrict `InsightCard`

* Align info message margin

* Disallow locking yourself out of the dashboard

* Handle dashboard restrictions in the insight page

* Allow disabling `InsightsTable` series checkbox

* Fix minor issues

* Align .page-title-row height

* Fix typing

* Fix arg name

* Address review feedback

* Fix n+1 queries issue
2022-02-08 16:22:09 +00:00
..
api Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00
benchmarks Benchmarks: trends breakdown and lifecycle with filtering (#8018) 2022-01-13 11:53:00 +02:00
bin Special Migrations Runner (#7054 pt. 4) (#7446) 2021-12-13 13:00:27 -03:00
certs
clickhouse Configure recordings TTL setting from UI (#8139) 2022-02-08 15:08:23 +01:00
idl
kafka_client feat(k8s): add kafka connection status to health check endpoint (#8258) 2022-02-03 15:15:48 +00:00
management/commands async migrations separate errors table (#8152) 2022-01-21 19:54:47 +01:00
migrations Dashboard permissions base (#8394) 2022-02-02 17:16:35 +01:00
models Dashboard permissions base (#8394) 2022-02-02 17:16:35 +01:00
tasks fix(cohorts): don't substitute params (#8124) 2022-01-19 09:28:44 -05:00
__init__.py
apps.py
conftest.py add test for async migrations not being required on fresh installs (#8323) 2022-02-02 07:47:49 -05:00
LICENSE
pytest.ini Set debug, test, and primary_db env variables based on context (#7250) 2021-11-20 17:18:39 +00:00
settings.py Use a helper to get env var for saml (#7744) 2021-12-15 21:45:51 -06:00
urls.py Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00