Phase 10D.2: Word Companion Manifest Permission Fix
This commit is contained in:
parent
234176b3ae
commit
07da6ff8b5
@ -2,12 +2,12 @@
|
||||
|
||||
This project contains the Microsoft Word task pane add-in shell for PlotDirector.
|
||||
|
||||
Phase 10B keeps the add-in deliberately small:
|
||||
The add-in is deliberately small:
|
||||
|
||||
- The manifest adds one ribbon button: **Open PlotDirector Companion**.
|
||||
- The task pane opens the PlotDirector-hosted `/word-companion` route.
|
||||
- The PlotDirector page initialises Office.js only.
|
||||
- No Word document APIs are called in this phase.
|
||||
- The manifest requests `ReadDocument` so the companion can read Word paragraphs, selection context, and document body content for the manual document-structure scan.
|
||||
- The companion does not request document write permissions.
|
||||
|
||||
## Development
|
||||
|
||||
@ -18,4 +18,3 @@ npm install
|
||||
npm run build
|
||||
npm run validate
|
||||
```
|
||||
|
||||
|
||||
@ -22,7 +22,9 @@
|
||||
<DefaultSettings>
|
||||
<SourceLocation DefaultValue="{{taskpaneUrl}}"/>
|
||||
</DefaultSettings>
|
||||
<Permissions>Restricted</Permissions>
|
||||
<!-- ReadDocument is required for the companion to read Word paragraphs, selection context,
|
||||
and document body content. It does not grant document write access. -->
|
||||
<Permissions>ReadDocument</Permissions>
|
||||
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
|
||||
<Hosts>
|
||||
<Host xsi:type="Document">
|
||||
|
||||
@ -22,7 +22,9 @@
|
||||
<DefaultSettings>
|
||||
<SourceLocation DefaultValue="https://localhost:7296/word-companion"/>
|
||||
</DefaultSettings>
|
||||
<Permissions>Restricted</Permissions>
|
||||
<!-- ReadDocument is required for the companion to read Word paragraphs, selection context,
|
||||
and document body content. It does not grant document write access. -->
|
||||
<Permissions>ReadDocument</Permissions>
|
||||
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
|
||||
<Hosts>
|
||||
<Host xsi:type="Document">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user