From 529f81b28ed77c62acaa63fad957e751798f2440 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 31 Jul 2026 22:36:17 +0200 Subject: Warn before the gate refuses, and check restore destinations nodes#new marks the kinds that place under /updates, derived from each kind's own path_prefix. The three parent pickers mark candidates the current user cannot publish into; menu_search returns needs_redaktion per result, computed per user rather than as a bare restricted flag, and the menu-item picker opts out. restore_from_trash! checks its destination: the restore is the move, applied rather than staged, so no later publish would have caught it. The node returns as a draft either way. --- config/locales/en.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/locales/en.yml') diff --git a/config/locales/en.yml b/config/locales/en.yml index 22429c9e..c23f2c33 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -325,6 +325,7 @@ en: attachment: "attachment" attach_hint: "This asset will automatically be attached to the new page." as_headline: "as the page's headline" + restricted_kind: "Publishing here is reserved for Redaktion. You can create and write freely, though." edit: save_draft: "Save Draft" save_unlock_exit: "Save + Unlock + Exit" @@ -686,6 +687,7 @@ en: insert_image: "Insert image" insert_image_tooltip: "Insert one of this page's attached images" copied: "Copied!" + needs_redaktion: "Redaktion required" nav_controls: dashboard: "Dashboard" search: "Search" -- cgit v1.3