ObsidianIpcPolicy
Unofficial
The organization policy Obsidian’s main process returns on the policy IPC channel.
Read from the policy.json file of an obsidian-work install; every other install gets every feature allowed.
Import:
import type { ObsidianIpcPolicy } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ObsidianIpcPolicyProperties
| Property | Type | Description | |
|---|---|---|---|
| devTools | boolean | Whether the developer tools may be opened; passed to every vault window's webPreferences.devTools. | |
| insider | boolean | Whether early access versions may be installed. | |
| plugins | boolean | string[] | true to allow every community plugin, false to allow none, or the ids of the allowed ones. | |
| publish | boolean | Whether Obsidian Publish may be used. | |
| snippets | boolean | Whether CSS snippets may be used. | |
| sync | boolean | Whether Obsidian Sync may be used. | |
| themes | boolean | string[] | true to allow every community theme, false to allow none, or the names of the allowed ones. | |
| webViewer | boolean | Whether the Web viewer core plugin may be used. |
Links to this page: