Fórum

Help in User and organization cpanel tab

Kim Capa, modificado 9 Anos atrás.

Help in User and organization cpanel tab

Junior Member Postagens: 49 Data de Entrada: 31/07/14 Postagens Recentes
Hi guys.

is there a way to edit this attach picture.
i want to show only
Edit
Assign user
Delete.
is there a way?
thanks in advnce! emoticon
thumbnail
Pankaj Kathiriya, modificado 9 Anos atrás.

RE: Help in User and organization cpanel tab

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
jsp file \portal-web\docroot\html\portlet\users_admin\organization_action.jsp is responsible for this button menu.

You can override this jsp to avoid options you dont want to see.

Moreover, All this options are visible to user based on his/her role-permissions, so you may also like to remove extra options by removing Permissions to user's role.
You may look into code of organization_action.jsp to see what permission check is done to show/hide these options.
Kim Capa, modificado 9 Anos atrás.

RE: Help in User and organization cpanel tab

Junior Member Postagens: 49 Data de Entrada: 31/07/14 Postagens Recentes
Hi Pankaj,

Thanks for your quick response! i'll try that right away. thanks again!
Kim Capa, modificado 9 Anos atrás.

RE: Help in User and organization cpanel tab

Junior Member Postagens: 49 Data de Entrada: 31/07/14 Postagens Recentes
Hi,

is it possible to apply the changes only to organization admin/owner and show the full to the adminstrator?
thnks!
Oliver Bayer, modificado 9 Anos atrás.

RE: Help in User and organization cpanel tab

Liferay Master Postagens: 894 Data de Entrada: 18/02/09 Postagens Recentes
Hi Kim,

you can use the permissionChecker class to retrieve the info you want by using isGroupAdmin(groupId) or isGroupOwner(groupId).

HTH Oli