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

/resourcepermission/remove-resource-permission

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

Revokes permission at the scope from the role to perform the action on resources of the type. For example, this method could be used to revoke a group scope permission to edit blog posts.

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

scope int

the scope

primKey java.lang.String

the primary key

roleId long

the primary key of the role

actionId java.lang.String

the action ID

Type de retour

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to remove 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 int java.lang.String long java.lang.String