Skip to content
Closed
Show file tree
Hide file tree
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
26 changes: 7 additions & 19 deletions permissions/new/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@
"/administrativeunits/{id}/members": "least=DelegatedWork,Application",
"/administrativeunits/{id}/members/{id}": "least=DelegatedWork,Application",
"/administrativeunits/delta": "least=DelegatedWork,Application",
"/directory/administrativeunits": "least=DelegatedWork",
"/directory/administrativeunits/{id}": "least=DelegatedWork",
"/directory/administrativeunits": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members/{id}": "least=DelegatedWork,Application"
Comment on lines 455 to 459
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

This change expands AdministrativeUnit.Read.All to allow the Application scheme on the /directory/administrativeunits* aliases (previously DelegatedWork-only). Since this broadens app-only access to directory administrative unit data, please confirm this is intentional and aligns with the service's authorization model/source-of-truth for these endpoints.

Copilot uses AI. Check for mistakes.
}
Expand Down Expand Up @@ -495,21 +495,8 @@
"paths": {
"/administrativeunits": "least=DelegatedWork,Application",
"/administrativeunits/{id}/members": "least=DelegatedWork,Application",
"/directory/administrativeunits": "least=DelegatedWork",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork"
}
},
{
"schemeKeys": [
"DelegatedWork",
"Application"
],
"methods": [
"DELETE"
],
"paths": {
"/administrativeunits/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}": "least=DelegatedWork,Application"
"/directory/administrativeunits": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members": "least=DelegatedWork,Application"
}
Comment on lines 496 to 513
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

AdministrativeUnit.ReadWrite.All: /directory/administrativeunits* paths were changed from DelegatedWork-only to DelegatedWork,Application. This broadens app-only access on the directory alias endpoints; please confirm this is intentional and matches the upstream authorization contract for these routes.

Copilot uses AI. Check for mistakes.
},
{
Expand All @@ -518,12 +505,13 @@
"Application"
],
"methods": [
"DELETE",
"GET",
"PATCH"
],
"paths": {
"/administrativeunits/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}": "least=DelegatedWork"
"/directory/administrativeunits/{id}": "least=DelegatedWork,Application"
}
},
{
Expand All @@ -537,7 +525,7 @@
],
"paths": {
"/administrativeunits/{id}/members/{id}": "least=DelegatedWork,Application",
"/directory/administrativeunits/{id}/members/{id}": "least=DelegatedWork"
"/directory/administrativeunits/{id}/members/{id}": "least=DelegatedWork,Application"
}
},
{
Expand Down
30 changes: 0 additions & 30 deletions permissions/new/provisioningInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,36 +144,6 @@
"resourceAppId": ""
}
],
"AdministrativeUnit.ReadBasic.All": [
{
"id": "a1b2c3d4-1111-2222-3333-444455557777",
"scheme": "Application",
"environment": "public",
"isHidden": true,
"isEnabled": false,
"resourceAppId": "00000002-0000-0000-c000-000000000000"
}
],
"AdministrativeUnit.ReadWriteBasic.All": [
{
"id": "b2c3d4e5-2222-3333-4444-555566668888",
"scheme": "Application",
"environment": "public",
"isHidden": true,
"isEnabled": false,
"resourceAppId": "00000002-0000-0000-c000-000000000000"
}
],
"AdministrativeUnitMember.ReadWrite.All": [
{
"id": "c3d4e5f6-3333-4444-5555-666677779999",
"scheme": "Application",
"environment": "public",
"isHidden": true,
"isEnabled": false,
"resourceAppId": "00000002-0000-0000-c000-000000000000"
}
],
"AgentApplication.Create": [
{
"id": "2f479c7e-27df-4053-826b-57d8ce55be3e",
Expand Down
Loading