Open birkof opened 6 days ago
Hi @birkof , I haven't tested with SF 7 yet, but I think there shouldn't be any issues. I just need to confirm that.
I created https://github.com/Olivier127/rbac-bundle/pull/12 with this update & some code clean-ups. Other than that, I need more in-depth tests on this...
It's merged, however, I have an error in Symfony 7. It seems that the DoctrineResolveTargetEntityPass no longer works.
it works with this configuration :
#config/package/doctrine.yaml
doctrine:
orm:
resolve_target_entities:
PhpRbacBundle\Entity\RoleInterface: App\Entity\Role
PhpRbacBundle\Entity\PermissionInterface: App\Entity\Permission
In that case, we'll need to get rid of "permission", "role", "user" options, and to make them dynamically defined.
I have updated the compiler, it works now
Currently, Composer limits us to Symfony 6 only.
@ Olivier127 as you know, are there any incompatibilities when upgrading?