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

/permission/set-role-permissions

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

Sets the role's permissions to perform the actions on the 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

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 or if a role with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

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