Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
OneNote is no longer in preview and one scope has been deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
garethj-msft committed Dec 6, 2017
1 parent b75aa31 commit 48e7935
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ src/**/*.js.map

./import-sample-queries.js

src/aot/**/*
src/aot/**/*
/.vs/**/*
25 changes: 9 additions & 16 deletions src/app/scopes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,44 +185,37 @@ export const PermissionScopes: PermissionScope[] = [
},
{
name: "Notes.Create",
description: "Create pages in users' notebooks (preview)",
description: "Create pages in users' notebooks",
longDescription: "Allows the app to read the titles of notebooks and sections and create new pages, notebooks and sections on behalf of the signed-in user.",
preview: true,
preview: false,
admin: false,
},
{
name: "Notes.Read",
description: "Read user notebooks (preview)",
description: "Read user notebooks",
longDescription: "Allows the app to view the titles of OneNote notebooks and sections and to read all pages on behalf of the signed-in user. It cannot view password protected sections.",
preview: true,
admin: false,
},
{
name: "Notes.Read.All",
description: "Read all notebooks that the user can access (preview)",
description: "Read all notebooks that the user can access",
longDescription: "Allows the app to read the contents of all notebooks and sections that the signed-in user can access. It cannot read password protected sections.",
preview: true,
preview: false,
admin: false,
},
{
name: "Notes.ReadWrite",
description: "Read and write user notebooks (preview)",
description: "Read and write user notebooks",
longDescription: "Allows the app to read the titles of notebooks and sections, read all pages, write all pages and create new pages on behalf of the signed-in user.  It cannot access password protected sections.",
preview: true,
preview: false,
admin: false,
},
{
name: "Notes.ReadWrite.All",
description: "Read and write notebooks that the user can access (preview)",
description: "Read and write notebooks that the user can access",
longDescription: "Allows the app to read and write the contents of all notebooks and sections that the signed-in user can access. It cannot access password protected sections.",
preview: true,
admin: false,
},
{
name: "Notes.ReadWrite.CreatedByApp",
description: "Limited notebook access (preview)",
longDescription: "Allows the app to read the titles of notebooks and sections, create new pages on behalf of the signed-in user. Also allows the app to read and update pages created by the app.",
preview: true,
preview: false,
admin: false,
},
{
Expand Down

0 comments on commit 48e7935

Please sign in to comment.