From becd7fd1ded4f438b6b1be569465993b1910d7c4 Mon Sep 17 00:00:00 2001 From: David <1511024+marabooy@users.noreply.github.com> Date: Tue, 11 Feb 2025 03:42:58 +0300 Subject: [PATCH] Weekly Permissions sync 2025-02-11 --- permissions/new/ProvisioningInfo.json | 7 +++ permissions/new/permissions.json | 71 ++++++++++++++------------- 2 files changed, 44 insertions(+), 34 deletions(-) diff --git a/permissions/new/ProvisioningInfo.json b/permissions/new/ProvisioningInfo.json index 4fc03abb..158be1ba 100644 --- a/permissions/new/ProvisioningInfo.json +++ b/permissions/new/ProvisioningInfo.json @@ -14361,6 +14361,13 @@ "isHidden": false, "isEnabled": true, "resourceAppId": "" + }, + { + "scheme": "Application", + "environment": "public", + "isHidden": true, + "isEnabled": false, + "resourceAppId": "" } ], "WorkforceIntegration.ReadWrite.All": [ diff --git a/permissions/new/permissions.json b/permissions/new/permissions.json index 0c156924..2965074b 100644 --- a/permissions/new/permissions.json +++ b/permissions/new/permissions.json @@ -16256,6 +16256,7 @@ "GET" ], "paths": { + "/directory/recommendationConfiguration": "least=DelegatedWork,Application", "/directory/recommendations": "least=DelegatedWork,Application", "/directory/recommendations/{id}": "least=DelegatedWork,Application", "/directory/recommendations/{id}/impactedresources": "least=DelegatedWork,Application", @@ -16318,6 +16319,18 @@ "/directory/recommendations/{id}/postpone": "least=DelegatedWork,Application", "/directory/recommendations/{id}/reactivate": "least=DelegatedWork,Application" } + }, + { + "schemeKeys": [ + "DelegatedWork", + "Application" + ], + "methods": [ + "PATCH" + ], + "paths": { + "/directory/recommendationConfiguration": "least=DelegatedWork,Application" + } } ], "ownerInfo": { @@ -36921,6 +36934,7 @@ "/teams/{id}/schedule/swapshiftschangerequests": "least=DelegatedWork,Application", "/teams/{id}/schedule/timecards": "least=DelegatedWork,Application", "/teams/{id}/schedule/timeoffreasons": "least=DelegatedWork,Application", + "/teams/{id}/schedule/timeoffrequests": "least=DelegatedWork,Application", "/teams/{id}/schedule/timesoff": "least=DelegatedWork,Application" } }, @@ -36937,7 +36951,6 @@ "/teams/{id}/schedule/openshiftchangerequests/{id}": "", "/teams/{id}/schedule/shiftsRoleDefinitions": "", "/teams/{id}/schedule/shiftsRoleDefinitions/{id}": "", - "/teams/{id}/schedule/timeoffrequests": "", "/users/{id}/joinedTeams/getOpenShifts": "", "/users/{id}/joinedTeams/getShifts": "", "/users/{id}/joinedTeams/getTimesOff": "" @@ -37010,8 +37023,15 @@ "PATCH" ], "paths": { + "/teams/{id}/schedule/daynotes": "least=DelegatedWork,Application", + "/teams/{id}/schedule/openshifts": "least=DelegatedWork,Application", + "/teams/{id}/schedule/schedulinggroups": "least=DelegatedWork,Application", + "/teams/{id}/schedule/shifts": "least=DelegatedWork,Application", "/teams/{id}/schedule/shiftsRoleDefinitions": "least=DelegatedWork,Application", - "/teams/{id}/schedule/shiftsRoleDefinitions/{id}": "least=DelegatedWork,Application" + "/teams/{id}/schedule/shiftsRoleDefinitions/{id}": "least=DelegatedWork,Application", + "/teams/{id}/schedule/timecards": "least=DelegatedWork,Application", + "/teams/{id}/schedule/timeoffreasons": "least=DelegatedWork,Application", + "/teams/{id}/schedule/timesoff": "least=DelegatedWork,Application" } } ], @@ -49640,33 +49660,6 @@ "ownerSecurityGroup": "csiaadaccess" } }, - "WorkforceIntegration.Read.All": { - "schemes": { - "DelegatedWork": { - "adminDisplayName": "Read workforce integrations", - "adminDescription": "Allows the app to read workforce integrations, to synchronize data from Microsoft Teams Shifts, on behalf of the signed-in user.", - "userDisplayName": "Read workforce integrations", - "userDescription": "Allows the app to read workforce integrations, to synchronize data from Microsoft Teams Shifts, on your behalf.", - "requiresAdminConsent": true, - "privilegeLevel": 3 - } - }, - "pathSets": [ - { - "schemeKeys": [ - "DelegatedWork" - ], - "methods": [ - "GET" - ], - "paths": { - "/teamwork/workforceintegrations": "least=DelegatedWork", - "/teamwork/workforceintegrations/{id}": "least=DelegatedWork" - } - } - ], - "ownerInfo": {} - }, "WorkforceIntegration.ReadWrite.All": { "schemes": { "DelegatedWork": { @@ -49676,24 +49669,32 @@ "userDescription": "Allows the app to manage workforce integrations, to synchronize data from Microsoft Teams Shifts, on your behalf.", "requiresAdminConsent": true, "privilegeLevel": 3 + }, + "Application": { + "adminDisplayName": "Read and write all workforce integrations", + "adminDescription": "Allows the app to manage workforce integrations without a signed-in user.", + "requiresAdminConsent": true, + "privilegeLevel": 3 } }, "pathSets": [ { "schemeKeys": [ - "DelegatedWork" + "DelegatedWork", + "Application" ], "methods": [ "GET", "POST" ], "paths": { - "/teamwork/workforceintegrations": "least=DelegatedWork" + "/teamwork/workforceintegrations": "least=DelegatedWork,Application" } }, { "schemeKeys": [ - "DelegatedWork" + "DelegatedWork", + "Application" ], "methods": [ "DELETE", @@ -49701,11 +49702,13 @@ "PATCH" ], "paths": { - "/teamwork/workforceintegrations/{id}": "least=DelegatedWork" + "/teamwork/workforceintegrations/{id}": "least=DelegatedWork,Application" } } ], - "ownerInfo": {} + "ownerInfo": { + "ownerSecurityGroup": "shifts-service-sg" + } } } } \ No newline at end of file