Added minimal permissions for 'spo file sharinglink' commands. Closes #7271 - #7457
Open
nanddeepn wants to merge 1 commit into
Open
Added minimal permissions for 'spo file sharinglink' commands. Closes #7271#7457nanddeepn wants to merge 1 commit into
nanddeepn wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new Permissions section to the spo file sharinglink command documentation pages to document the minimal delegated and application permissions required, aligning with issue #7271’s guidance (place Permissions right before Examples).
Changes:
- Added a Permissions section (with Delegated/Application tabs) to the six
spo file sharinglinkcommand reference pages. - Added missing
@theme/Tabs/@theme/TabItemimports where needed for the new tabbed Permissions content.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/docs/cmd/spo/file/file-sharinglink-add.mdx | Adds Permissions section for spo file sharinglink add. |
| docs/docs/cmd/spo/file/file-sharinglink-clear.mdx | Adds Permissions section (and Tabs imports) for spo file sharinglink clear. |
| docs/docs/cmd/spo/file/file-sharinglink-get.mdx | Adds Permissions section for spo file sharinglink get. |
| docs/docs/cmd/spo/file/file-sharinglink-list.mdx | Adds Permissions section for spo file sharinglink list. |
| docs/docs/cmd/spo/file/file-sharinglink-remove.mdx | Adds Permissions section (and Tabs imports) for spo file sharinglink remove. |
| docs/docs/cmd/spo/file/file-sharinglink-set.mdx | Adds Permissions section for spo file sharinglink set. |
Comment on lines
+44
to
+53
| | Resource | Permissions | | ||
| |------------|-----------------| | ||
| | SharePoint | Files.ReadWrite | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|---------------------| | ||
| | SharePoint | Files.ReadWrite.All | |
Comment on lines
+41
to
+50
| | Resource | Permissions | | ||
| |------------|-----------------| | ||
| | SharePoint | Files.ReadWrite | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|---------------------| | ||
| | SharePoint | Files.ReadWrite.All | |
Comment on lines
+38
to
+47
| | Resource | Permissions | | ||
| |------------|-------------| | ||
| | SharePoint | Files.Read | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|----------------| | ||
| | SharePoint | Files.Read.All | |
Comment on lines
+38
to
+47
| | Resource | Permissions | | ||
| |------------|-------------| | ||
| | SharePoint | Files.Read | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|----------------| | ||
| | SharePoint | Files.Read.All | |
Comment on lines
+41
to
+50
| | Resource | Permissions | | ||
| |------------|-----------------| | ||
| | SharePoint | Files.ReadWrite | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|---------------------| | ||
| | SharePoint | Files.ReadWrite.All | |
Comment on lines
+41
to
+50
| | Resource | Permissions | | ||
| |------------|-----------------| | ||
| | SharePoint | Files.ReadWrite | | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Application"> | ||
|
|
||
| | Resource | Permissions | | ||
| |------------|---------------------| | ||
| | SharePoint | Files.ReadWrite.All | |
Contributor
|
Thanks, we'll review it soon! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added minimal permissions for
spo file sharinglinkcommands. Closes #7271