This commit is contained in:
shimon
2025-10-22 16:40:00 +03:00
parent 33f88fa5e0
commit 8b3b07a710
73 changed files with 18 additions and 82 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ App::init()
$scopes = \array_unique($scopes);
$dbForPlatform->getAuthorization()->addRole($role);
foreach (Auth::getRoles($user, $dbForPlatform->getAuthorization()) as $authRole) {
foreach (Auth::getRoles($user, $dbForPlatform->getAuthorization()) as $authRole) {
$dbForPlatform->getAuthorization()->addRole($authRole);
}