Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Mage2
User
Policies
AdminUserPolicy
PHP Class Mage2\User\Policies\AdminUserPolicy
Inheritance:
use trait
Illuminate\Auth\Access\HandlesAuthorization
Mostra file
Open project: mage2/laravel-ecommerce
Public Methods
Method
Description
hasPermission
(
AdminUser
$adminUser
,
$permissionName
) :
mixed
Determine whether the user can has permissions to access route.
Method Details
hasPermission()
public
method
Determine whether the user can has permissions to access route.
public
hasPermission
(
AdminUser
$adminUser
,
$permissionName
) :
mixed
$adminUser
Mage2\User\Models\AdminUser
return
mixed