Skip to content

Added minimal permissions for 'spo contenttype' commands. Closes #7267#7404

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

Added minimal permissions for 'spo contenttype' commands. Closes #7267#7404
nanddeepn wants to merge 1 commit into
pnp:mainfrom
nanddeepn:issue-7267

Conversation

@nanddeepn

Copy link
Copy Markdown
Contributor

Added minimal permissions for spo contenttype commands. Closes #7267

Copilot AI review requested due to automatic review settings June 15, 2026 17:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 content type command docs to clarify required delegated vs application permissions.

Changes:

  • Documented required permissions for multiple spo contenttype * commands using Docusaurus Tabs.
  • Added @theme/Tabs / @theme/TabItem imports to some MDX pages.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/docs/cmd/spo/contenttype/contenttype-sync.mdx Adds Permissions section (delegated/application) via tabs.
docs/docs/cmd/spo/contenttype/contenttype-set.mdx Adds Permissions section and imports Tabs/TabItem.
docs/docs/cmd/spo/contenttype/contenttype-remove.mdx Adds Permissions section and imports Tabs/TabItem.
docs/docs/cmd/spo/contenttype/contenttype-list.mdx Adds Permissions section (delegated/application) via tabs.
docs/docs/cmd/spo/contenttype/contenttype-get.mdx Adds Permissions section (delegated/application) via tabs.
docs/docs/cmd/spo/contenttype/contenttype-add.mdx Adds Permissions section (delegated/application) via tabs.

Comment on lines +41 to +56
<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|-----------------|
| SharePoint | AllSites.Manage |

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

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

</TabItem>
</Tabs>
Comment on lines +51 to +68
## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|-----------------|
| SharePoint | AllSites.Manage |

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

| Resource | Permissions |
|------------|------------------|
| SharePoint | Sites.Manage.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 contenttype' commands

3 participants