The functionality of the watch as a "guest/user/other" how to implement?
Good time of day. Colleagues please tell me how to implement such functionality?
The project went on Yii 1, RBAC. Want to do Tul-admin bar on the website, not in the admin area and make part of the functionality to edit directly on the website. The content I dynamic are the users and customers and partners. And accordingly the content for all the different shows in different ways.
Want to browse the pages as a certain role, but while remaining with administrator privileges. How to implement such functionality?
It all depends on a number of factors.
which template basiс or anvanced, not under domain, if the admin panel? How we implemented RBAC standard methods yii or extension of someone?
If it and another to ignore, then You need to write to session variable, for example type_view and change the appearance of it. But as it depends on Your structure. There are different Views for different roles or units are hiding.