Files
Tony 24154472a6 refactor(dialog): reuse message command for confirm (#3287)
* chore(dialog): reuse `message` command for confirm

* Add change file

* Remove ask and confirm from default permissions

* Format

* Remove extra `toString`

* Point `allow-confirm` to `allow-message`
2026-03-01 10:55:33 +08:00

1.8 KiB

Default Permission

This permission set configures the types of dialogs available from the dialog plugin.

Granted Permissions

All dialog types are enabled.

This default permission set includes the following:

  • allow-message
  • allow-save
  • allow-open

Permission Table

Identifier Description

dialog:allow-ask

Enables the ask command without any pre-configured scope. (DEPRECATED: This is now an alias to allow-message and will be removed in v3)

dialog:deny-ask

Denies the ask command without any pre-configured scope. (DEPRECATED: This is now an alias to deny-message and will be removed in v3)

dialog:allow-message

Enables the message command without any pre-configured scope.

dialog:deny-message

Denies the message command without any pre-configured scope.

dialog:allow-open

Enables the open command without any pre-configured scope.

dialog:deny-open

Denies the open command without any pre-configured scope.

dialog:allow-save

Enables the save command without any pre-configured scope.

dialog:deny-save

Denies the save command without any pre-configured scope.

dialog:allow-confirm

Enables the confirm command without any pre-configured scope. (DEPRECATED: This is now an alias to allow-message and will be removed in v3)

dialog:deny-confirm

Denies the confirm command without any pre-configured scope. (DEPRECATED: This is now an alias to deny-message and will be removed in v3)