Wiki

Articles tagged with "user", sorted by viewsX
Displaying 1-10 of 12 result(s).

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 44,987 times – ( +17 / -2 ) – version 1.1
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.

Implementing a Registration Process using the yii-user-management module

Created 2 years ago by thyseusTutorials4 comments – viewed 44,496 times – ( +7 ) – version 1.1
Hi Folks,

How to create nice modal login widget with a CJuiDialog

Created 3 years ago by Igor IvanovicTutorials3 comments – viewed 38,510 times – ( +8 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Simple access control

Created about a year ago by szfjozsefTutorials4 comments – viewed 25,623 times – ( +3 / -8 ) – version 1.1
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.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created about a year ago by Rajith RTips18 comments – viewed 21,739 times – ( +7 ) – version 1.1
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 .

Add information to Yii::app()->user by extending CWebUser (better version)

Created 3 years ago by emixTutorials4 comments – viewed 20,345 times – ( +5 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Yii User and Rights Implementation

Created 9 months ago by Rajith RHow-tos4 comments – viewed 12,658 times – ( +4 )
implementing some features of yii user and rights.

Disable login page if user is logged in

Created 11 months ago by freezingbananaTutorials2 comments – viewed 10,686 times – ( +3 / -13 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created about a year ago by sirin kTips0 comments – viewed 4,509 times – ( +4 ) – version 1.1
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 with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user

model rules depended by user roles-permissions

Created 10 months ago by KonApazHow-tos0 comments – viewed 4,490 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not