如题。
查了 AuthManager 提供的接口,发现没有。这里是不是需要做一个呢?
比如类似这样的 AuthManager::hasAuthItem() 之类的.
如题。
查了 AuthManager 提供的接口,发现没有。这里是不是需要做一个呢?
比如类似这样的 AuthManager::hasAuthItem() 之类的.
isAssigned() method
abstract public boolean isAssigned(string $itemName, mixed $userId)
$itemName string the item name
$userId mixed the user ID (see IWebUser::getId)
{return} boolean whether the item has been assigned to the user.