Yii Framework Forum: Yii2 advanced template with RBAC or without RBAC - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2 advanced template with RBAC or without RBAC

#1 User is offline   tonton 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 25-April 17

  Posted 12 May 2017 - 12:20 PM

Hi,

Which way is posible and best one :

1st way :
I want to use/install the advanced template of Yii 2.0 :
composer global require "fxp/composer-asset-plugin:^1.3.1"
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2-app

and If it is possible I want to install RBAC system on the advanced template when I need it :
composer require mdmsoft/yii2-admin "~2.0"

2nd way :
Directly I install the Advanced Application Template With RBAC of Yii 2.0 even if I do not need RBAC:
php composer.phar global require "fxp/composer-asset-plugin:1.1.2" php
composer.phar create-project --prefer-dist dezmont765/yii2-rbac-advanced-template


Which way is a best one and easy ?

Thanks
0

#2 User is offline   tonton 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 25-April 17

Posted 12 May 2017 - 01:20 PM

Or first time if I install only 'yii2-app-advanced yii2-app' and I use it för some time and when I need, I can use 'RBAC' in the future : is it possible ?
0

#3 User is offline   tonton 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 25-April 17

  Posted 15 May 2017 - 04:23 PM

I installed only 'yii2-app-advanced yii2-app' and after I migrated 'RBAC'

whitout problem :D
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users