Wiki

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

Installing Yii Users and Rights to Newly Created Yii app

Created 3 years ago by Rajith RTutorials27 comments – viewed 76,861 times – ( +23 / -10 ) – 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 4 years ago by thyseusTutorials6 comments – viewed 59,747 times – ( +7 ) – version 1.1
Hi Folks,

How to create nice modal login widget with a CJuiDialog

Created 5 years ago by Igor IvanovicTutorials3 comments – viewed 48,875 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

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 3 years ago by Rajith RTips20 comments – viewed 37,394 times – ( +11 / -8 ) – 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 .

Simple access control

Created 3 years ago by szfjozsefTutorials4 comments – viewed 34,700 times – ( +4 / -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.

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

Created 5 years ago by emixTutorials5 comments – viewed 32,901 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Yii User and Rights Implementation

Created 2 years ago by Rajith RHow-tos12 comments – viewed 23,961 times – ( +7 / -7 ) – version 1.1
implementing some features of yii user and rights.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 9 months ago by Wade ShulerHow-tos1 comment – viewed 22,178 times – ( +14 / -1 ) – version 2.0
I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and yii2 configuring different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

Configuring different sessions for backend and frontend in Yii advanced app

Created about a year ago by Kartik VHow-tos2 comments – viewed 15,618 times – ( +46 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created about a year ago by hrnairHow-tos2 comments – viewed 14,052 times – ( +6 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.