This repository was archived by the owner on Sep 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 11CHANGELOG
22=====================
33
4+ v1.1.2
5+ ---------------------
6+ * AccessControl filter update default regexp to ^site, in debug mode add gii and debug modules.
7+
8+ v1.1.1
9+ ---------------------
10+ * Bugfix: Permission Child/Parents boxes cleanup available options from already exists.
11+ * Bugfix: Permission Child/Parents fixed fatal error on hierarchy loop.
12+
13+ v1.1
14+ ---------------------
15+ * NEW: Permissions selector as a real Tree-based selector.
16+ * Bugfix: Fix wrong unique name validations for Role and Permission creating form
17+
18+ v1.0.2
19+ ---------------------
20+ * Bugfix: Routes Scanner take info from comments as well, not class definition.
21+
22+ v1.0.1
23+ ---------------------
24+ * Disable inherit permissions in role permissions multi-select box.
25+
426v1.0
527---------------------
628* Rbac console command to init, assign, scan roles
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ class RouteAccessControl extends ActionFilter
2020
2121 /**
2222 * Allow route pattern
23- * in debug mode default value is "/^(gii|debug)/i".
23+ * in debug mode default value is "/^(site| gii|debug)\/ /i".
2424 *
2525 * @var string
2626 */
27- public $ allowRegexp = '/^(gii) /i ' ;
27+ public $ allowRegexp = '/^(site)\/ /i ' ;
2828
2929 /**
3030 * RouteAccessControl constructor.
@@ -34,7 +34,7 @@ class RouteAccessControl extends ActionFilter
3434 public function __construct (array $ config = [])
3535 {
3636 if (defined ('YII_DEBUG ' ) && YII_DEBUG ) {
37- $ this ->allowRegexp = '/^(gii|debug)/i ' ;
37+ $ this ->allowRegexp = '/^(site| gii|debug)\/ /i ' ;
3838 }
3939 parent ::__construct ($ config );
4040 }
You can’t perform that action at this time.
0 commit comments