yii rights some tips..
yii rights some tips..
hello,
This article is helpful only if you have the following situation:
A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
How to add additional information to a user when using BUM extension?
implementing some features of yii user and rights.
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.
Here you learn to create and set a simple ahref-link to logout the current user.
I found a better solution.
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .
You have to extend the widget class and configure it for user login widget
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.