2017 © Pedro Peláez
 

yii2-extension module-account

Account management module for Cookyii CMF

image

cookyii/module-account

Account management module for Cookyii CMF

  • Friday, August 4, 2017
  • by rmrevin
  • Repository
  • 1 Watchers
  • 1 Stars
  • 509 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Accounts management module

Installation

composer require cookyii/module-account:dev-master

Configuration

1. Update config

In backend app config in section modules add cookyii\modules\Account\backend\Module and in section bootstrap add account:, (*1)

// ./backend-app/config/app.php

return [
    // ...
    'bootstrap' => [
        // some components ...
        'account'
    ],
    'modules' => [
        // some modules ...
        'account' => 'cookyii\modules\Account\backend\Module',
    ],
    // ...
];

2. Dependencies

Also, you need to configure the following modules (they are already downloaded):, (*2)

// ./backend-app/config/app.php

return [
    // ...
    'bootstrap' => [
        // some components ...
        'account', 'postman',
    ],
    'modules' => [
        // some modules ...
        'account' => 'cookyii\modules\Account\backend\Module',
        'postman' => 'cookyii\modules\Postman\backend\Module',
    ],
    // ...
];

3. Add new permissions

In rbac/update command add "merge" class cookyii\modules\Account\backend\Permissions:, (*3)

// ./common/commands/RbacCommand.php

class RbacCommand extends \rmrevin\yii\rbac\Command
{

    public $backendMerge = [
        // ...
        'cookyii\modules\Account\backend\Permissions',
        'cookyii\modules\Postman\backend\Permissions',
    ];

    // ...
}

4. Update permissions

./backend rbac/update

5. Execute new migrations

./frontend migrate

The Versions

04/08 2017

dev-master

9999999-dev

Account management module for Cookyii CMF

  Sources   Download

BSD-3-Clause

The Requires

 

user yii2 module cmf account cookyii