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
136 changes: 136 additions & 0 deletions permissions/new/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5261,6 +5261,22 @@
"/users/{id}/reminderview(startdatetime={value},enddatetime={value})": "least=DelegatedWork,DelegatedPersonal,Application"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"GET"
],
"paths": {
"/me/settings/workHoursAndLocations": "",
Copy link

Copilot AI Nov 15, 2025

Choose a reason for hiding this comment

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

This path entry at line 5272 has an empty string value, but the same path at line 5833 (PATCH method) and line 29835 (GET method) has 'least=DelegatedWork'. The inconsistency suggests these duplicate entries may need consolidation or clarification of the permission requirements.

Copilot uses AI. Check for mistakes.
"/me/settings/workHoursAndLocations/occurrencesView(startDateTime={value},endDateTime={value})": "least=DelegatedWork",
Copy link

Copilot AI Nov 15, 2025

Choose a reason for hiding this comment

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

Inconsistent casing: the function parameter uses 'startDateTime' (camelCase), but in line 5733 the same path uses an empty string value while line 5273 uses 'least=DelegatedWork'. This inconsistency between two blocks defining the same paths with the same method and scheme suggests one may be incorrect or redundant.

Copilot uses AI. Check for mistakes.
"/me/settings/workHoursAndLocations/recurrences": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations": "",
"/users/{id}/settings/workHoursAndLocations/occurrencesView(startDateTime={value},endDateTime={value})": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/recurrences": "least=DelegatedWork"
}
},
{
"schemeKeys": [
"DelegatedWork",
Expand Down Expand Up @@ -5705,6 +5721,22 @@
"/users/{id}/reminderview(startdatetime={value},enddatetime={value})": ""
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"GET"
],
"paths": {
"/me/settings/workHoursAndLocations": "",
"/me/settings/workHoursAndLocations/occurrencesView(startDateTime={value},endDateTime={value})": "",
"/me/settings/workHoursAndLocations/recurrences": "",
"/users/{id}/settings/workHoursAndLocations": "",
"/users/{id}/settings/workHoursAndLocations/occurrencesView(startDateTime={value},endDateTime={value})": "",
"/users/{id}/settings/workHoursAndLocations/recurrences": ""
}
},
{
"schemeKeys": [
"DelegatedWork",
Expand Down Expand Up @@ -5745,6 +5777,62 @@
"/users/{id}/calendar/getschedule": "",
"/users/{id}/calendar/permanentDelete": "least=DelegatedWork,Application"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"POST"
],
"paths": {
"/me/settings/workHoursAndLocations/occurrences": "least=DelegatedWork",
"/me/settings/workHoursAndLocations/occurrences/setCurrentLocation": "least=DelegatedWork",
"/me/settings/workHoursAndLocations/recurrences": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/occurrences": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/occurrences/setCurrentLocation": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/recurrences": "least=DelegatedWork"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"PUT"
],
"paths": {
"/me/settings/workHoursAndLocations/occurrences/{id}": "least=DelegatedWork",
"/me/settings/workHoursAndLocations/recurrences/{id}": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/occurrences/{id}": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/recurrences/{id}": "least=DelegatedWork"
Comment on lines +5807 to +5808
Copy link

Copilot AI Nov 15, 2025

Choose a reason for hiding this comment

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

[nitpick] Path uses {id} placeholder twice in the same path (once for user ID and once for the resource ID). This ambiguous naming could lead to confusion. Consider using more descriptive placeholders like {userId} and {occurrenceId} or {recurrenceId} to distinguish between the two identifiers.

Copilot uses AI. Check for mistakes.
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"DELETE"
],
"paths": {
"/me/settings/workHoursAndLocations/occurrences/{id}": "least=DelegatedWork",
"/me/settings/workHoursAndLocations/recurrences/{id}": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/occurrences/{id}": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations/recurrences/{id}": "least=DelegatedWork"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"PATCH"
],
"paths": {
"/me/settings/workHoursAndLocations": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations": "least=DelegatedWork"
}
}
],
"ownerInfo": {
Expand Down Expand Up @@ -8896,6 +8984,7 @@
"/devicemanagement/virtualendpoint/provisioningpolicies/{id}/assign": "least=DelegatedWork,Application",
"/devicemanagement/virtualendpoint/provisioningpolicies/{id}/assignments/{id}/userSettingsPersistenceDetail/batchCleanupUserSettingsPersistenceProfile": "least=DelegatedWork,Application",
"/devicemanagement/virtualendpoint/provisioningpolicies/{id}/retry": "least=DelegatedWork,Application",
"/deviceManagement/virtualEndpoint/report/retrieveCloudPcClientUsageReport": "least=DelegatedWork,Application",
"/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports": "least=DelegatedWork,Application",
"/devicemanagement/virtualendpoint/reports/exportjobs": "least=DelegatedWork,Application",
"/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports": "",
Expand Down Expand Up @@ -24425,6 +24514,17 @@
"paths": {
"/storage/fileStorage/containers/{id}/sharePointGroups/{id}": "least=Application"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"POST"
],
"paths": {
"/copilot/retrieval": ""
}
}
],
"ownerInfo": {
Expand Down Expand Up @@ -29723,6 +29823,18 @@
"/users/{id}/outlook/mastercategories": "least=DelegatedWork,DelegatedPersonal,Application",
"/users/{id}/outlook/mastercategories/{id}": "least=DelegatedWork,DelegatedPersonal,Application"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"GET"
],
"paths": {
"/me/settings/workHoursAndLocations": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations": "least=DelegatedWork"
}
}
],
"ownerInfo": {
Expand Down Expand Up @@ -29831,6 +29943,30 @@
"/users/{id}/mailfolders/inbox/messagerules/{id}": "least=DelegatedWork,DelegatedPersonal,Application",
"/users/{id}/outlook/mastercategories/{id}": "least=DelegatedWork,DelegatedPersonal,Application"
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"GET"
],
"paths": {
"/me/settings/workHoursAndLocations": "",
"/users/{id}/settings/workHoursAndLocations": ""
}
},
{
"schemeKeys": [
"DelegatedWork"
],
"methods": [
"PATCH"
],
"paths": {
"/me/settings/workHoursAndLocations": "least=DelegatedWork",
"/users/{id}/settings/workHoursAndLocations": "least=DelegatedWork"
}
}
],
"ownerInfo": {
Expand Down