0

问题:在内容编辑器中,我们拥有编辑内容和发布内容的权限的网络编辑器经常忘记转到编辑>批准和发布,而只是保存并尝试按下发布到主控的发布按钮,但不是实时生产服务器。我知道批准和发布会将页面放入最后的工作流程步骤,并且(至少在我们的服务器上)发布按钮不会。我想知道是否可以将“发布”按钮更改为“批准和发布”功能,以及这是否会对拥有编辑权限但没有发布权限的人造成任何问题。

同样,我们的管理员可以使用发布按钮保存和发布,而无需使用编辑>批准和发布进行批准,但他们不能对新页面执行此操作。新页面必须经过一次批准和发布,从那时起,他们可以简单地保存,然后使用发布按钮发布,内容就会上线。有没有办法绕过管理员最初的“批准和发布”步骤?

我在核心工作以及编辑工作流程方面有一些经验,但如果这是一个非常简单的问题,或者我错过了我们工作流程设置方式的要点,我深表歉意。我还考虑过创建一个批准按钮并将其放在编辑旁边,以便我们的编辑更有可能记住该步骤,但我找不到与新按钮关联的批准命令。我希望得到 Sitecore 资深人士的反馈。

4

1 回答 1

2

Changing the behavior of the publish button is not recommeded and will just end up confusing everyone. Also adding a new button will just lead to more confusion about which button your editors should be using.

Since your editors have to use workflow, they probably don't need access to the standard publish button. Simply removing them from the Sitecore Client Publishing role will make it so they can't see the publish button and therefore have to use the workflow command.

If workflow is turned on, a new version of an item will always be put into the first step of that workflow. You could change that behavior with a handler for the version:added event. If you are only concerned about new items, a processor for the uiAddFromTemplate pipeline could also be used. However, I don't recommend changing this behavior at all. For that matter, I don't recommend using full admin users for content editing at all since you will lose the versioning of your content items. Admin users should be used for administration, not content editing.

于 2014-06-07T16:13:56.067 回答