Skip to content

Commit b090a16

Browse files
committed
Added recommendation about Sites.Selected on the sharepoint documentation page
1 parent eaec963 commit b090a16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/usage/sharepoint.rst

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

0 commit comments

Comments
 (0)