reference.md 6.3 KB

Default Permission

Default permissions for the plugin.

  • allow-new
  • allow-append
  • allow-prepend
  • allow-insert
  • allow-remove
  • allow-remove-at
  • allow-items
  • allow-get
  • allow-popup
  • allow-create-default
  • allow-set-as-app-menu
  • allow-set-as-window-menu
  • allow-text
  • allow-set-text
  • allow-is-enabled
  • allow-set-enabled
  • allow-set-accelerator
  • allow-set-as-windows-menu-for-nsapp
  • allow-set-as-help-menu-for-nsapp
  • allow-is-checked
  • allow-set-checked
  • allow-set-icon

Permission Table

Identifier Description
`core:menu:allow-append` Enables the append command without any pre-configured scope.
`core:menu:deny-append` Denies the append command without any pre-configured scope.
`core:menu:allow-create-default` Enables the create_default command without any pre-configured scope.
`core:menu:deny-create-default` Denies the create_default command without any pre-configured scope.
`core:menu:allow-get` Enables the get command without any pre-configured scope.
`core:menu:deny-get` Denies the get command without any pre-configured scope.
`core:menu:allow-insert` Enables the insert command without any pre-configured scope.
`core:menu:deny-insert` Denies the insert command without any pre-configured scope.
`core:menu:allow-is-checked` Enables the is_checked command without any pre-configured scope.
`core:menu:deny-is-checked` Denies the is_checked command without any pre-configured scope.
`core:menu:allow-is-enabled` Enables the is_enabled command without any pre-configured scope.
`core:menu:deny-is-enabled` Denies the is_enabled command without any pre-configured scope.
`core:menu:allow-items` Enables the items command without any pre-configured scope.
`core:menu:deny-items` Denies the items command without any pre-configured scope.
`core:menu:allow-new` Enables the new command without any pre-configured scope.
`core:menu:deny-new` Denies the new command without any pre-configured scope.
`core:menu:allow-popup` Enables the popup command without any pre-configured scope.
`core:menu:deny-popup` Denies the popup command without any pre-configured scope.
`core:menu:allow-prepend` Enables the prepend command without any pre-configured scope.
`core:menu:deny-prepend` Denies the prepend command without any pre-configured scope.
`core:menu:allow-remove` Enables the remove command without any pre-configured scope.
`core:menu:deny-remove` Denies the remove command without any pre-configured scope.
`core:menu:allow-remove-at` Enables the remove_at command without any pre-configured scope.
`core:menu:deny-remove-at` Denies the remove_at command without any pre-configured scope.
`core:menu:allow-set-accelerator` Enables the set_accelerator command without any pre-configured scope.
`core:menu:deny-set-accelerator` Denies the set_accelerator command without any pre-configured scope.
`core:menu:allow-set-as-app-menu` Enables the set_as_app_menu command without any pre-configured scope.
`core:menu:deny-set-as-app-menu` Denies the set_as_app_menu command without any pre-configured scope.
`core:menu:allow-set-as-help-menu-for-nsapp` Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.
`core:menu:deny-set-as-help-menu-for-nsapp` Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.
`core:menu:allow-set-as-window-menu` Enables the set_as_window_menu command without any pre-configured scope.
`core:menu:deny-set-as-window-menu` Denies the set_as_window_menu command without any pre-configured scope.
`core:menu:allow-set-as-windows-menu-for-nsapp` Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.
`core:menu:deny-set-as-windows-menu-for-nsapp` Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.
`core:menu:allow-set-checked` Enables the set_checked command without any pre-configured scope.
`core:menu:deny-set-checked` Denies the set_checked command without any pre-configured scope.
`core:menu:allow-set-enabled` Enables the set_enabled command without any pre-configured scope.
`core:menu:deny-set-enabled` Denies the set_enabled command without any pre-configured scope.
`core:menu:allow-set-icon` Enables the set_icon command without any pre-configured scope.
`core:menu:deny-set-icon` Denies the set_icon command without any pre-configured scope.
`core:menu:allow-set-text` Enables the set_text command without any pre-configured scope.
`core:menu:deny-set-text` Denies the set_text command without any pre-configured scope.
`core:menu:allow-text` Enables the text command without any pre-configured scope.
`core:menu:deny-text` Denies the text command without any pre-configured scope.