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

/permission/set-individual-permissions

HTTP Method
POST
com.liferay.portal.service.PermissionServiceUtil#setIndividualPermissions

Sets the permissions of each role to perform respective actions on the resource, replacing the existing permissions of each role on the resource.

Parameters

p_auth String

authentication token used to validate the request

groupId long

the primary key of the group

companyId long

the primary key of the company

roleIdsToActionIds java.util.Map

the map of roles to their new actions on the resource

resourceId long

the primary key of the resource

Return Type

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the group did not have permission to the resource
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long long java.util.Map long