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 4 years ago by Rajith RTutorials27 comments – viewed 83,816 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 5 years ago by thyseusTutorials6 comments – viewed 64,019 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 51,160 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

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

Created about a year ago by Wade ShulerHow-tos2 comments – viewed 42,901 times – ( +17 / -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!

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 41,599 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 4 years ago by szfjozsefTutorials4 comments – viewed 36,802 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 6 years ago by emixTutorials5 comments – viewed 35,563 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Yii User and Rights Implementation

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

Configuring different sessions for backend and frontend in Yii advanced app

Created 2 years ago by Kartik VHow-tos2 comments – viewed 23,860 times – ( +47 ) – 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 2 years ago by hrnairHow-tos2 comments – viewed 20,577 times – ( +7 ) – 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.