Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
isAllowed ($resource, $privilege=null) | |
isAllowed | ( | $resource, | |
$privilege = null |
|||
) |
Check current user permission on resource and privilege
string | $resource | |
string | $privilege |
Implemented in Authorization, AuthorizationMock, AuthorizationMock, and AuthorizationMock.