Perhaps you can create your own portlet, put it in the control panel, in which only site administrators, filling out the form, can create users that you assign directly as members of the current site.
PRO: I think you can complete your task.
CON:
- You need to spend time developing, this is not a “solution in a few clicks”.
- This is not a permission setting.
References: “Getting Started Developing Liferay” This is a useful guide that explains, using all of Liferay's best practices, how to develop a complete portlet, the “famed” KnowledgeBasePortlet . I suggest you read everything, but the important points for your problem are:
- Setting permissions to allow only the Site Administrator to create Users
- Adding a portlet to the control panel
NB: As you will see ( Creating Entity Objects ), the KnowledgeBasePortlet creates two custom objects, you do not need to do this: the entities that you need already exist. Use this chapter to learn how to call methods to add / edit / delete these objects, you will have to do the same, but with the User object through UserLocalServiceUtil.
source share