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

/resourcepermission/set-individual-resource-permissions

Méthode de HTTP
POST
com.liferay.portal.service.ResourcePermissionServiceUtil#setIndividualResourcePermissions

Updates the role's permissions at the scope, setting the actions that can be performed on resources of the type. Existing actions are replaced.

This method can be used to set permissions at any scope, but it is generally only used at the individual scope. For example, it could be used to set the guest permissions on a blog post.

Depending on the scope, the value of primKey will have different meanings. For more information, see {@link com.liferay.portal.model.impl.ResourcePermissionImpl}.

Paramètres

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

name java.lang.String

the resource's name, which can be either a class name or a portlet ID

primKey java.lang.String

the primary key

roleId long

the primary key of the role

actionIds class java.lang.String[]

the action IDs of the actions

Type de retour

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to set resource permissions, or if a role with the primary key or a resource action with the name and action ID could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

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