This commit is contained in:
候学杰 2018-02-01 19:14:38 +08:00
parent 6712999a8e
commit ccb1d13bd9

View File

@ -73,7 +73,7 @@ class Authenticate
$match = [];
foreach ($user['roles'] as $role) {
if (array_key_exists($role, $privileges)) {
$match += $privileges[$role['role']['key']];
$match += $privileges[$role];
}
}