DLApp
Il n'y a aucun service assortissant cette expression.

/permission/set-group-permissions

Méthode de HTTP
POST
com.liferay.portal.service.PermissionServiceUtil#setGroupPermissions

Sets the entity's group permissions to perform the actions on the resource, replacing the entity's existing group permissions on the resource. Only {@link com.liferay.portal.model.Organization} and {@link com.liferay.portal.model.UserGroup} class entities are supported.

Paramètres

p_auth String

authentication token used to validate the request

className java.lang.String

the class name of an organization or user group

classPK java.lang.String

the primary key of the class

groupId long

the primary key of the group

actionIds class java.lang.String[]

the primary keys of the actions

resourceId long

the primary key of the resource

Type de retour

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the group did not have permission to the resource, if an entity with the class name and primary key could not be found, or if the entity's associated group could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String java.lang.String java.lang.String long class java.lang.String[] long