Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions permissions/new/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ""
}
}
Expand Down Expand Up @@ -12509,7 +12511,9 @@
"POST"
],
"paths": {
"/me/dataSecurityAndGovernance/contentUploadSession": "",
"/me/dataSecurityAndGovernance/processContent": "least=Application,DelegatedWork",
"/users/{userId}/dataSecurityAndGovernance/contentUploadSession": "",
"/users/{userId}/dataSecurityAndGovernance/processContent": "least=Application,DelegatedWork"
Comment on lines +12467 to 12470
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Content.Process.User, the existing /me/.../processContent and /users/{userId}/.../processContent entries specify least=Application,DelegatedWork, but the newly-added .../contentUploadSession paths have an empty value. If empty values are treated differently by the tooling (e.g., no least-privilege annotation), this will make the new endpoints inconsistent with the rest of this permission and could lead to incorrect least-privilege calculations. Please align the contentUploadSession entries with the other paths in this same paths block (likely by adding the same least=Application,DelegatedWork value).

Copilot uses AI. Check for mistakes.
}
}
Expand Down
Loading