feat: Approve ai data processing in app for admins#2367
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 25, 2026
Contributor
What T-Rex did
ArtifactsTargeted component test startup log
|
d7fda5b to
58fa0a9
Compare
446682a to
89b8708
Compare
58fa0a9 to
dad2dca
Compare
6cc0d57 to
3cf4284
Compare
0dad1de to
ef18623
Compare
3cf4284 to
10ef24e
Compare
jonathanlab
approved these changes
May 26, 2026
ef18623 to
e957425
Compare
10ef24e to
00f8d97
Compare
e957425 to
7a7aba4
Compare
bbe83b1 to
cf0e2a9
Compare
7a7aba4 to
afbf542
Compare
cf0e2a9 to
16da428
Compare
afbf542 to
e48476c
Compare
16da428 to
ae6c12a
Compare
e48476c to
261cb4c
Compare
ae6c12a to
c5613cd
Compare
261cb4c to
7215276
Compare
c5613cd to
d76b960
Compare
7215276 to
345806f
Compare
d76b960 to
c5c04f1
Compare
345806f to
62cf3c5
Compare
c5c04f1 to
6041a41
Compare
36db5d6 to
27147d7
Compare
9b8d6ce to
9013f9b
Compare
27147d7 to
32c76d3
Compare
3679e1d to
317ad6b
Compare
32c76d3 to
d658658
Compare
317ad6b to
d526a4b
Compare
d658658 to
3481c77
Compare
3481c77 to
a18c4c6
Compare
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
The AI consent gate kicked admins out to the PostHog web app via
openExternalto approve AI data processing. The flow is jarring and unnecessary, sincePATCH /api/organizations/@current/works under the current OAuth scope.Changes
PostHogAPIClient.approveAiDataProcessing()that PATCHes/api/organizations/@current/useMutationcurrentUserquery family on success so the gate predicate re-evaluates and the screen unmounts automaticallyAI_CONSENT_GRANTED_INAPPanalytics event on successHow did you test this?
manually
Publish to changelog?
no