Skip to content

Commit 33526b3

Browse files
committed
Update the docs
1 parent b090a16 commit 33526b3

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

docs/latest/_sources/usage/sharepoint.rst.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ These are the scopes needed to work with the SharePoint and Site classes.
66
========================= ======================================= =======================================
77
Raw Scope Included in Scope Helper Description
88
========================= ======================================= =======================================
9+
Sites.Selected *None* Sites a permission was granted by admins (see https://github.com/O365/python-o365/issues/1122)
910
Sites.Read.All sharepoint To only read sites, lists and items
1011
Sites.ReadWrite.All sharepoint_dl To read and save sites, lists and items
1112
========================= ======================================= =======================================
1213

14+
Note that using the *.All scopes is way less secure than granting permissions to specific sites and using
15+
Sites.Selected scope.
16+
1317
Assuming an authenticated account, create a Sharepoint instance, and connect
1418
to a Sharepoint site.
1519

docs/latest/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/latest/usage/sharepoint.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,22 @@ <h1>Sharepoint<a class="headerlink" href="#sharepoint" title="Link to this headi
115115
</tr>
116116
</thead>
117117
<tbody>
118-
<tr class="row-even"><td><p>Sites.Read.All</p></td>
118+
<tr class="row-even"><td><p>Sites.Selected</p></td>
119+
<td><p><em>None</em></p></td>
120+
<td><p>Sites a permission was granted by admins (see <a class="reference external" href="https://github.com/O365/python-o365/issues/1122">https://github.com/O365/python-o365/issues/1122</a>)</p></td>
121+
</tr>
122+
<tr class="row-odd"><td><p>Sites.Read.All</p></td>
119123
<td><p>sharepoint</p></td>
120124
<td><p>To only read sites, lists and items</p></td>
121125
</tr>
122-
<tr class="row-odd"><td><p>Sites.ReadWrite.All</p></td>
126+
<tr class="row-even"><td><p>Sites.ReadWrite.All</p></td>
123127
<td><p>sharepoint_dl</p></td>
124128
<td><p>To read and save sites, lists and items</p></td>
125129
</tr>
126130
</tbody>
127131
</table>
132+
<p>Note that using the <a href="#id1"><span class="problematic" id="id2">*</span></a>.All scopes is way less secure than granting permissions to specific sites and using
133+
Sites.Selected scope.</p>
128134
<p>Assuming an authenticated account, create a Sharepoint instance, and connect
129135
to a Sharepoint site.</p>
130136
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1">#Create Sharepoint instance and connect to a site</span>

0 commit comments

Comments
 (0)