symfonycorp / connect

The SymfonyConnect official API SDK
https://connect.symfony.com/
MIT License
90 stars 40 forks source link

[RFR] Use user's roles if user is an instance of UserInterface instead of token's roles #50

Closed iamluc closed 10 years ago

iamluc commented 10 years ago

Updated according to comments.

Shall I test if $user is an instance of UserInterface, or a new interface like UserRolesAware ?

iamluc commented 10 years ago

Updated

lyrixx commented 10 years ago

It took time, but here we go, this is in now. Thank you very much @iamluc.

lyrixx commented 10 years ago

taggued with v4.0.0

I'm going to tag all others repositories.

lyrixx commented 10 years ago

done.