[9.x] Fixed grouping for user authorization (#42664)
[9.x] Fixed grouping for user authorization (#42664)

* Fixed grouping for user authorization

* Add new method to avoid BC.
driesvints/framework,hafezdivandari/framework,leo108/laravel_framework,laravel/framework,arturock/framework,arturock/framework,driesvints/framework,arturock/framework,hafezdivandari/framework,JamesForks/framework,lucasmichot/framework,laravel/framework,leo108/laravel_framework,lucasmichot/framework,morrislaptop/framework,morrislaptop/framework,JamesForks/framework