Difference between #2 and #6 of
Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Changes

Title changed

Installing and configurating the Yii User Management Module under a fresh skeleton Aapplication generated by yiic

Category unchanged

Tutorials

Yii version unchanged

Tags changed

Authentication

Content changed

p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module. 
 
 
Installing the User Management Module is very easy due to the
great module System of the Yii Framework and the Installer provided
by the Module. In this Tutorial we will learn how to use the User
[...]
2.) Extract the Yii User Management Module under the modules/ directory
of your new Web Application. Replace the _0.
24 with the latest Version
available.
[...]
$ mkdir modules
$ cd modules
$ wget http://www.yiiframework.com/extension/yii-user-management/files/User_Management_Module_0.
24.tar.bz2 $ tar xvf User_Management_Module_0.24.tar.bz2
~~~
[...]
'User'=>array(
'class' => 'User',
),
 
 
 'import'=>array(
 
  'application.modules.user.models.*',


~~~
[...]
~~~

 At the time of this writing you have to copy over the UserIdentity.php
 
 of the User Module to your Application components directory manually.
 
 This will be automated in later versions. Do it like this:
 
 
 
~~~
 
 $ cp protected/modules/user/components/UserIdentity.php protected/components
 
~~~
 
 
6.) Run the User Management Installer in your Web-Browser:

http://localhost/testdrive/index.php/user/install
[...]
```php
if(
Yii::app()->User->::hasRole('role'))
{
// user is allowed
}
else
{
[...]
12 2
15 followers
Viewed: 95 241 times
Version: 1.1
Category: Tutorials
Written by: thyseus
Last updated by: Orteko
Created on: Mar 1, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history