Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ManaPHP
AuthorizationInterface
PHP Interface ManaPHP\AuthorizationInterface
Show file
Open project: manaphp/manaphp
Public Methods
Method
Description
isAllowed
(
string
$permission
,
string
$userId
= null ) :
boolean
Check whether a user is allowed to access a permission
Method Details
isAllowed()
public
method
Check whether a user is allowed to access a permission
public
isAllowed
(
string
$permission
,
string
$userId
= null ) :
boolean
$permission
string
$userId
string
return
boolean