Skip to content

Releases: yii2mod/yii2-rbac

1.7 Release

15 Oct 07:02
Compare
Choose a tag to compare

Date: October, 15, 2016

  1. Removed bootstrap function from the ConsoleModule

1.6 Release

07 Sep 07:41
Compare
Choose a tag to compare

Date: September, 6, 2016

  1. Update tests

1.5 Release

17 Aug 20:36
Compare
Choose a tag to compare

Date: August, 17, 2016

  1. Update docs
  2. Improve RouteModel

1.4 Release

16 Aug 16:38
Compare
Choose a tag to compare

Date: August, 16, 2016

  1. Added allowActions property to AccessControl filter

Usage:

// When filter attaches globally

'as access' => [
    'class' => yii2mod\rbac\filters\AccessControl::class,
    'allowActions' => [
        'site/*',
        'admin/*',
        // The actions listed here will be allowed to everyone including guests.
        // So, 'admin/*' should not appear here in the production, of course.
        // But in the earlier stages of your development, you may probably want to
        // add a lot of actions here until you finally completed setting up rbac,
        // otherwise you may not even take a first step.
    ]
 ],

// When filter attaches via `behaviors` in the controller

public function behaviors()
{
    return [
        'access' => [
            'class' => AccessControl::className(),
            'allowActions' => ['contact', 'about-us'], // list of controller actions
   ],
}

1.3 Release

22 Jul 13:17
Compare
Choose a tag to compare
  1. Code refactoring
  2. Added ConsoleModule that allows to create console migrations
  3. Added translations: en, ru
  4. Update docs

1.2 Release

07 Jul 15:49
Compare
Choose a tag to compare

Date: Tuesday, July 7, 2016

  1. Added tests for the Rbac Models

Version 1.1

16 Feb 11:09
Compare
Choose a tag to compare
Upgrade to release v1.1

Initial release

16 Feb 10:05
Compare
Choose a tag to compare
1.0

Update RbacCommand.php