Alfresco Creating a new user group that permits only creating user and groups

前端 未结 2 537
半阙折子戏
半阙折子戏 2021-01-21 13:39

I want to create a new user group.

The members in this user group can create new users and new groups.

I think creating users

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-21 14:37

    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.

    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.

    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.

提交回复
热议问题