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

/permission/set-role-permission

Méthode de 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.

Paramètres

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

Type de retour

void

Exception

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

Exécuter

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