DLApp
No hay servicios que concuerden con ese texto.

/permission/set-role-permission

Método HTTP
POST
com.liferay.portal.service.PermissionServiceUtil#setRolePermission

Sets the role's permissions to perform the action on the named resource, replacing the role's existing permissions on the resource.

Parámetros

p_auth String

authentication token used to validate the request

roleId long

the primary key of the role

groupId long

the primary key of the group

name java.lang.String

the resource name

scope int

the resource scope

primKey java.lang.String

the resource primKey

actionId java.lang.String

the action's ID

Tipo de retorno

void

Excepción

com.liferay.portal.kernel.exception.PortalException
if the group did not have permission to the role or if the scope was {@link com.liferay.portal.model.ResourceConstants#SCOPE_INDIVIDUAL}
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Ejecutar

String long long java.lang.String int java.lang.String java.lang.String