-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Personal API key scopes #20151
Conversation
…g into feat/simplify-permissions
…g into feat/simplify-permissions
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
# Conflicts: # frontend/__snapshots__/scenes-app-insights-error-empty-states--estimated-query-execution-time-too-long--light.png # frontend/__snapshots__/scenes-app-insights-error-empty-states--server-error--dark.png # frontend/__snapshots__/scenes-app-insights-error-empty-states--server-error--light.png # frontend/__snapshots__/scenes-app-persons-groups--persons--light.png # frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--light.png # frontend/__snapshots__/scenes-app-pipeline--pipeline-node-metrics--light.png # frontend/__snapshots__/scenes-app-sidepanels--side-panel-activation--light.png # frontend/__snapshots__/scenes-app-sidepanels--side-panel-settings--light.png # frontend/__snapshots__/scenes-other-settings--settings-organization--light.png # frontend/__snapshots__/scenes-other-settings--settings-project--light.png # frontend/src/scenes/settings/user/PersonalAPIKeys.tsx # latest_migrations.manifest # posthog/hogql_queries/insights/test/__snapshots__/test_lifecycle_query_runner.ambr # posthog/hogql_queries/insights/trends/test/__snapshots__/test_trends.ambr
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Problem
This has been requested for a while so now we're adding it 🥳
Needs #20172
Resolves #20096 – Michael
Changes
:read :write
standard as the basis for most resources, associating with the default viewset actions:read
or :write
based on the action being performed@action
decorators to set their own scopes (as they might relate to other objects)include_in_docs
- now the only way to include it is to have a valid base scope.TODO
:write
if it is supported👉 Stay up-to-date with PostHog coding conventions for a smoother review.
How did you test this code?