Wiki

Articles tagged with "auth"X
Displaying 1-7 of 7 result(s).

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

Created 2 months ago by Wade ShulerHow-tos1 comment – viewed 8,598 times – ( +5 / -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!

Console Based CAuthManager Helper

Created 4 months ago by bluyellHow-tos1 comment – viewed 2,626 times – ( +1 ) – version 1.1
This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

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

Created 9 months ago by hrnairHow-tos2 comments – viewed 9,326 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.

Configuring different sessions for backend and frontend in Yii advanced app

Created about a year ago by Kartik VHow-tos1 comment – viewed 10,177 times – ( +44 ) – 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.

Yii User and Rights Implementation

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

Simple authorization system

Created 3 years ago by GustavoHow-tos1 comment – viewed 26,764 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

Introducción al control de acceso basado en roles (RBAC)

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 43,284 times – ( +17 / -1 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).