symfony / security-acl

Symfony Security ACL Component
https://symfony.com/components/Security
MIT License
363 stars 48 forks source link

Will security-core 6 series be supported? #118

Closed smith-30 closed 1 month ago

smith-30 commented 1 month ago

AsIs

The following depended on interfaces that will be removed in security-core 6. This will likely result in an error when used with symfony 6. https://github.com/symfony/security-acl/blob/main/Domain/SecurityIdentityRetrievalStrategy.php#L85

Want

Change the processing of the relevant line appropriately to make it work with security-core version 6.

Misc

I saw this issue, but I couldn't figure out what to do with AuthenticationTrustResolverInterface::isAnonymous(). https://github.com/symfony/security-acl/issues/99

wouterj commented 1 month ago

That call is only used on <6.0 for the reasons you mentioned.

Did you experience any issue while using this package with Symfony 6? Both 6 and 7 should be supported.

smith-30 commented 1 month ago

Thank you for your comment.

This has not happened in my environment. However, when I upgraded to Symfony 6, this package was included in the vendor, so I was wondering if it was OK.