只有站点管理员才能设置Plone 4.3上文件夹的默认显示视图 [英] Only site administrators should be able to set default display view of folders on Plone 4.3

查看:89
本文介绍了只有站点管理员才能设置Plone 4.3上文件夹的默认显示视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的plone网站的所有登录成员均具有编辑,创建和发布内容的权限.不幸的是,他们还能够更改文件夹的默认显示视图.这会导致很多问题,因为站点成员有时会偶然地将其更改为文件夹不适合的视图模板.

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.

因为我信任我的成员,所以类似JS + CSS解决方案的方法也可以接受,它可以为所有人隐藏显示菜单,但网站管理员除外.

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.

推荐答案

您要查找的权限称为Modify view template.具有此权限的所有角色都可以更改模板.如果您的工作流管理该权限,则仅将其授予管理员.

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.

如果您的工作流无法管理权限,则可以通过更改plone根上的安全性配置来全局更改权限.

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

转到:http://plonesite/manage_access(ZMI中的安全"选项卡)

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

搜索Modify view template.

更改配置.就您而言,仅允许Administrator更改视图模板.

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

这篇关于只有站点管理员才能设置Plone 4.3上文件夹的默认显示视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆