Alfresco 创建仅允许创建用户和组的新用户组 [英] Alfresco Creating a new user group that permits only creating user and groups

查看:32
本文介绍了Alfresco 创建仅允许创建用户和组的新用户组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个新用户组.

此用户组中的成员可以创建新用户和新组.

我认为创建用户或组需要 admin 权限.该用户组除了创建、编辑和删除用户、组外没有其他管理员权限. alfresco 是否在 alfresco community 4.0c 中提供这种组?我该如何实施?如何添加具有指定权限的新组?我非常感谢您的帮助.

I think creating users or groups require admin permission. This user group does not have other admin permission except creating, editing and deleting user,group. Does alfresco provide this kind of group in alfresco community 4.0c? How can I implement it? How to add a new group with specified permission? I really appreciate for help.

推荐答案

您可以在 permissionDefinitions.xml 中添加自定义角色,但我认为这在这种情况下没有帮助,因为能力创建用户和组以及其他管理操作都硬连接到内置管理员角色.

You could add a custom role in permissionDefinitions.xml but I don't think that would help in this instance, since the ability to create users and groups plus the other administrative actions are hard-wired to the built-in administrators role.

相反,您可以创建一个自定义 Web 脚本,该脚本执行检查以查看当前用户是否是您的自定义安全组的成员.由于经过身份验证的用户可能不是存储库管理员(并且可能不是),因此您需要使用这样的内容 Alfresco webscripts 的Sudo 工具 暂时授予他们创建对象的权限.

Instead, you could create a custom web script which performs a check to see if the current user is a member of your custom security group. Since the authenticated user may not be a repository admin (and probably isn't) then you would need to use something like this Sudo tool for Alfresco webscripts to temporarily give them permission to create the objects.

您需要能够胜任 Java 网页脚本开发才能实现这一点.Alfresco wiki 上有一些不错的资源、在线文档和培训材料.

You would need to be competent in Java webscript development in order to implement this. There are some good resources on the Alfresco wiki, documentation and training materials available online.

这篇关于Alfresco 创建仅允许创建用户和组的新用户组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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