Started working with Yii and making a website. I use uLogin as authorization. I implement the rights by the rights extension.
Almost able to combine them, the problem is as follows. If the user is logged in and he is an admin or a regular user, then everything is fine. The Rights :: getAssignedRoles () function returns the desired Admin or Authenticated values.
But if the user is just a guest and views the page, then this function gives him 3 Admin, Authenticated, Guest roles and access does not work correctly. If I forcibly install the Guest role to some registered user, then everything also works correctly.
Where to look for a joint? It seems to have checked everything several times already.