An error is reported when rbac is configured for yii2. configure www according to the method provided by this address. manks. topyii2_fra... when configured to main. an error is reported for the php urlManager item, as long as {code...} is set ...} an error is reported here. what is the problem?
An error is reported when configuring rbac for yii2. configure it according to the method provided by this address.
Http://www.manks.top/yii2_fra...
An error is reported when the urlManager item configured to main. php is set.
"UrlManager" => [// 'class' => 'yii \ rbac \ dbmanager', // Remember to use single quotation marks instead of double quotation marks],
An error is reported here.
What is the situation?
Reply content:
An error is reported when configuring rbac for yii2. configure it according to the method provided by this address.
Http://www.manks.top/yii2_fra...
An error is reported when the urlManager item configured to main. php is set.
"UrlManager" => [// 'class' => 'yii \ rbac \ dbmanager', // Remember to use single quotation marks instead of double quotation marks],
An error is reported here.
What is the situation?
// Add the authManager component to the components array, which can be PhpManager or DbManager,
// PhpManager stores the permission relationship in the file. here, DbManager is used to save the permission relationship in the database. "authManager" => ["class" => 'yii \ rbac \ dbmanager', // Remember to use single quotes instead of double quotes "defaultRoles" => ["guest"],], authManager