AnnouncementsDelivery
DLApp
FlagsEntry
LayoutRevision
PollsVote
There are no services matching that phrase.

/permission/set-role-permissions

Método do 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.

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

actionIds class java.lang.String[]

the primary keys of the actions

resourceId long

the primary key of the resource

Tipo de retorno

void

Exceção

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

Executar

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