Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Creating Authorization Roles

$
0
0
Lots of newbies will face the problem with creating roles as i did... This might help all of them.

1. There are two methods of storing in DB and in File

I cracked storing in DB using console script and will explain the same.

1. modify your protected/config/console.php as
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=dbname',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' =

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>