0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/api
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
..
test Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00
__init__.py
authentication.py SAML support (#5681) 2021-08-27 07:20:49 -07:00
dashboard_collaborator.py Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00
debug_ch_queries.py Clean up DebugCHQueries viewset (#5685) 2021-08-23 12:17:12 +02:00
ee_event_definition.py Give actions descriptions (#8272) 2022-02-02 15:50:28 +01:00
ee_property_definition.py Deprecates property_type_format (#8292) 2022-02-01 14:08:55 +00:00
explicit_team_member.py Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00
hooks.py Purge PLUGIN_SERVER_ACTION_MATCHING flag (#6358) 2021-10-11 21:33:48 +02:00
license.py Add clickhouse and max users to license (#3918) 2021-04-14 08:45:39 -07:00