Closed twocabbages closed 10 years ago
In class auth\components\User I can only work like this
public function checkAccess($operation, $params = [], $allowCaching = true) { // Always return true when SuperAdmin user if ($this->getIsSuperAdmin()) { return true; } return parent::can($operation, $params, $allowCaching); }
not
public function checkAccess($operation, $params = [], $allowCaching = true) { // Always return true when SuperAdmin user if ($this->getIsSuperAdmin()) { return true; } return parent::checkAccess($operation, $params, $allowCaching); }
Thanks for reporting.
In class auth\components\User I can only work like this
not