Hi,
I'm having troubles to make rights extension installed as a nested module. Here's my main.php config file:
'import'=>array(
'application.models.*',
'application.components.*',
'application.extensions.nestedset.*',
'application.modules.membres.rights.components.*',
'application.modules.membres.rights.models.*',
'application.modules.membres.components.*',
'application.modules.membres.models.*',
//'application.modules.rights.components.*',
//'application.modules.rights.models.*',
),
'modules'=>array(
// uncomment the following to enable the Gii tool
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'XXXX',
),
/* 'membres' => array(
'modules'=>array('rights'),
),*/
'membres'=>array(
'modules'=>array('rights'=>array('install'=>true),),
)
),
// application components
'components'=>array(
'user'=>array(
// enable cookie-based authentication
// 'class' => 'application.modules.user.components.YumWebUser',
'allowAutoLogin'=>true,
'loginUrl' => array('/membres/login'),
'class' => 'RightsWebUser',
),
'authmanager' => array(
// The authorization manager (default: CDbAuthManager)
'class'=>'RightsAuthManager',
// The database component used
'connectionID'=>'db',
// The itemTable name (default: AuthItem)
'itemTable'=>'auth_item',
// The assignmentTable name (default: AuthAssignment)
'assignmentTable'=>'auth_assignment',
// The itemChildTable name (default: AuthItemChild)
'itemChildTable'=>'auth_item_child',
// The itemWeightTable (default: AuthItemWeight)
'itemWeightTable'=>'auth_item_weight',
),
RightsModule.php is modified with:
public $baseUrl = '/membres/rights';
And here's the error I've got:
Alias "rights.RightsModule" is invalid. Make sure it points to an existing PHP file.