Skip to content

Added minimal permission for 'spo cdn related' commands. Closes #7265#7389

Open
nanddeepn wants to merge 1 commit into
pnp:mainfrom
nanddeepn:issue-7265
Open

Added minimal permission for 'spo cdn related' commands. Closes #7265#7389
nanddeepn wants to merge 1 commit into
pnp:mainfrom
nanddeepn:issue-7265

Conversation

@nanddeepn
Copy link
Copy Markdown
Contributor

Added minimal permission for spo cdn related commands. Closes #7265

Copilot AI review requested due to automatic review settings June 7, 2026 05:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a standardized Permissions section to SharePoint Online (spo) CDN command docs, documenting required delegated vs application permissions.

Changes:

  • Added a new “## Permissions” section using Docusaurus Tabs/TabItem to multiple CDN command pages
  • Added @theme/Tabs / @theme/TabItem imports to some MDX pages to support the new UI

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
docs/docs/cmd/spo/cdn/cdn-set.mdx Adds tabbed delegated/application permissions table to the command doc
docs/docs/cmd/spo/cdn/cdn-policy-set.mdx Adds tabbed delegated/application permissions table to the command doc
docs/docs/cmd/spo/cdn/cdn-policy-list.mdx Adds tabbed permissions section (but imports aren’t shown/added in diff)
docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx Adds tabbed delegated/application permissions table to the command doc
docs/docs/cmd/spo/cdn/cdn-origin-list.mdx Adds tabbed permissions section (but imports aren’t shown/added in diff)
docs/docs/cmd/spo/cdn/cdn-origin-add.mdx Adds tabbed delegated/application permissions table to the command doc
docs/docs/cmd/spo/cdn/cdn-get.mdx Adds tabbed permissions section (but imports aren’t shown/added in diff)

Comment on lines +24 to +41
## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>
Comment on lines +24 to +41
## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>
Comment on lines +24 to +41
## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>
Comment on lines +32 to +47
<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>
Comment on lines +27 to +44
## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>
@milanholemans
Copy link
Copy Markdown
Contributor

Thanks! We'll review it soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minimal permissions for 'spo cdn related' commands

3 participants