Alfresco创建一个新的用户组,仅允许创建用户和组

编程入门 行业动态 更新时间:2024-10-11 19:24:42
本文介绍了Alfresco创建一个新的用户组,仅允许创建用户和组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想创建一个新用户组。

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

我认为创建用户或组需要 admin 权限。 该用户组除创建,编辑和删除用户组外,没有其他管理员权限。 alfresco是否在alfresco社区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 Webscript开发的能力才能实现这一点。在线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创建一个新的用户组,仅允许创建用户和组

本文发布于:2023-11-28 11:58:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642317.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户组   创建一个   用户   Alfresco

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!