-
Notifications
You must be signed in to change notification settings - Fork 47
Weekly Permissions sync 2026-03-31 #1485
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12471,8 +12471,10 @@ | |
| "POST" | ||
| ], | ||
| "paths": { | ||
| "/me/dataSecurityAndGovernance/contentUploadSession": "", | ||
| "/me/dataSecurityAndGovernance/processContent": "", | ||
| "/security/dataSecurityAndGovernance/processContentAsync": "least=Application,DelegatedWork", | ||
| "/users/{userId}/dataSecurityAndGovernance/contentUploadSession": "", | ||
| "/users/{userId}/dataSecurityAndGovernance/processContent": "" | ||
| } | ||
| } | ||
|
|
@@ -12509,7 +12511,9 @@ | |
| "POST" | ||
| ], | ||
| "paths": { | ||
| "/me/dataSecurityAndGovernance/contentUploadSession": "", | ||
| "/me/dataSecurityAndGovernance/processContent": "least=Application,DelegatedWork", | ||
| "/users/{userId}/dataSecurityAndGovernance/contentUploadSession": "", | ||
|
Comment on lines
12513
to
+12516
|
||
| "/users/{userId}/dataSecurityAndGovernance/processContent": "least=Application,DelegatedWork" | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new
/me/dataSecurityAndGovernance/contentUploadSessionpath is being added under a pathSet that includesApplicationschemeKeys and has an empty constraint string. Since/meendpoints are only callable in delegated contexts (no app-only/me), this mapping can incorrectly imply app-only access. Consider moving the/me/...paths into a Delegated-only pathSet or marking them explicitly as delegated-only via the per-path constraint (e.g.,least=DelegatedWork).