[ticket/291] Add modules_helper and use for permission checks
B3P-291
This commit is contained in:
@@ -8,6 +8,7 @@ services:
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- @pagination
|
||||
- @board3.portal.modules_helper
|
||||
- @request
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
@@ -179,6 +180,7 @@ services:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @pagination
|
||||
- @board3.portal.modules_helper
|
||||
- @request
|
||||
- @template
|
||||
- %core.root_path%
|
||||
|
||||
@@ -49,5 +49,9 @@ services:
|
||||
board3.portal.helper:
|
||||
class: board3\portal\includes\helper
|
||||
arguments:
|
||||
- @auth
|
||||
- @board3.module_collection
|
||||
|
||||
board3.portal.modules_helper:
|
||||
class: board3\portal\includes\modules_helper
|
||||
arguments:
|
||||
- @auth
|
||||
|
||||
Reference in New Issue
Block a user