mirror of
https://github.com/JBDevLabs/ezmigrationbundle.git
synced 2026-03-24 00:42:09 +01:00
Fixed adding policy to role
This commit is contained in:
@@ -440,5 +440,9 @@ class RoleManager extends RepositoryExecutor implements MigrationGeneratorInterf
|
||||
}
|
||||
|
||||
$roleService->addPolicyByRoleDraft($roleDraft, $policyCreateStruct);
|
||||
|
||||
if (is_callable(array($roleService, 'publishRoleDraft'))) {
|
||||
$roleService->publishRoleDraft($roleDraft);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user