|
@@ -521,6 +521,34 @@ Setting.create_if_not_exists(
|
|
|
frontend: true
|
|
|
)
|
|
|
|
|
|
+Setting.create_if_not_exists(
|
|
|
+ title: 'Define default visibility of new a new article',
|
|
|
+ name: 'ui_ticket_zoom_article_new_internal',
|
|
|
+ area: 'UI::TicketZoom',
|
|
|
+ description: 'Set default visibility of new a new article.',
|
|
|
+ options: {
|
|
|
+ form: [
|
|
|
+ {
|
|
|
+ display: '',
|
|
|
+ null: true,
|
|
|
+ name: 'ui_ticket_zoom_article_new_internal',
|
|
|
+ tag: 'boolean',
|
|
|
+ translate: true,
|
|
|
+ options: {
|
|
|
+ true => 'internal',
|
|
|
+ false => 'public',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ state: true,
|
|
|
+ preferences: {
|
|
|
+ prio: 1,
|
|
|
+ permission: ['admin.ui'],
|
|
|
+ },
|
|
|
+ frontend: true
|
|
|
+)
|
|
|
+
|
|
|
Setting.create_if_not_exists(
|
|
|
title: 'New User Accounts',
|
|
|
name: 'user_create_account',
|