Skip to content

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-public-latest';

Signature:

export interface ObsidianIpcPolicy

Properties

PropertyTypeDescription
devToolsbooleanWhether the developer tools may be opened; passed to every vault window's webPreferences.devTools.
insiderbooleanWhether early access versions may be installed.
pluginsboolean | string[]true to allow every community plugin, false to allow none, or the ids of the allowed ones.
publishbooleanWhether Obsidian Publish may be used.
snippetsbooleanWhether CSS snippets may be used.
syncbooleanWhether Obsidian Sync may be used.
themesboolean | string[]true to allow every community theme, false to allow none, or the names of the allowed ones.
webViewerbooleanWhether the Web viewer core plugin may be used.

Links to this page: