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

/permission/has-user-permissions

Méthode de HTTP
GET
com.liferay.portal.service.PermissionServiceUtil#hasUserPermissions

Returns true if the user has permission to perform the action on the resources.

This method does not support resources managed by the resource block system.

Paramètres

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

groupId long

the primary key of the group containing the resource

resources java.util.List

representations of the resource at each scope level returned by {@link com.liferay.portal.security.permission.AdvancedPermissionChecker#getResources( long, long, String, String, String)}

actionId java.lang.String

the action's ID

permissionCheckerBag com.liferay.portal.security.permission.PermissionCheckerBag

the permission checker bag

Type de retour

boolean

true if the user has permission to perform the action on the resources; false otherwise

Exception

com.liferay.portal.kernel.exception.PortalException
if a resource action based on any one of the resources and the action ID could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String long long java.util.List java.lang.String com.liferay.portal.security.permission.PermissionCheckerBag