Only site administrators should be able to set default display view of folders on Plone 4.3

孤人 提交于 2019-12-23 21:30:11

问题


All logged-in members of my plone site have the permission to edit, create and publish content. Unfortunately, they are also able to change the default display view of a folder. This leads to a lot of problems as the site members sometimes - accidentically - change to a view template that a folder is not suitable for.

How can I change plone the way that only role administrator is able to set the default view of all folders? Normal site members should not be able.

Since I trust my members something like a JS+CSS solution that hides the display menu for everybody except site administrators would be acceptable, too.


回答1:


The permission you are looking for is called Modify view template. All roles with this permission can change the template. If your Workflow manages the permission, give it only to the Administrators.

If your Workflow does not manage the permission you can change it globally by change the security configuration on the plone root.

Goto: http://plonesite/manage_access (Security-tab in ZMI)

Search for Modify view template.

Change the configuration. In your case only allow Administrator to change the view template.



来源:https://stackoverflow.com/questions/25119328/only-site-administrators-should-be-able-to-set-default-display-view-of-folders-o

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!