@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Core routing(core.routing) event handler |
| 116 | 116 | * @param \samson\core\Core $core |
| 117 | 117 | * @param boolean $securityResult |
| 118 | - * @return boolean True if security passed |
|
| 118 | + * @return boolean|null True if security passed |
|
| 119 | 119 | */ |
| 120 | 120 | public function handle(&$core, &$securityResult) |
| 121 | 121 | { |
@@ -176,7 +176,8 @@ discard block |
||
| 176 | 176 | /** |
| 177 | 177 | * Parse application access right |
| 178 | 178 | * @param string $rightName Right name |
| 179 | - * @return string Application name |
|
| 179 | + * @param string $applicationName |
|
| 180 | + * @return boolean Application name |
|
| 180 | 181 | */ |
| 181 | 182 | private function matchApplicationAccessRight($rightName, &$applicationName) |
| 182 | 183 | { |
@@ -7,13 +7,8 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace samsoncms\app\security; |
| 9 | 9 | |
| 10 | -use samson\activerecord\dbQuery; |
|
| 11 | 10 | use samson\activerecord\groupright; |
| 12 | -use samsonframework\containerannotation\Inject; |
|
| 13 | 11 | use samsonframework\containerannotation\Injectable; |
| 14 | -use samsonframework\containerannotation\InjectArgument; |
|
| 15 | -use samsonframework\core\ResourcesInterface; |
|
| 16 | -use samsonframework\core\SystemInterface; |
|
| 17 | 12 | use samsonframework\i18n\i18nInterface; |
| 18 | 13 | use samsonframework\orm\QueryInterface; |
| 19 | 14 | |
@@ -7,11 +7,7 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace samsoncms\app\security\tab; |
| 9 | 9 | |
| 10 | -use samson\cms\Navigation; |
|
| 11 | 10 | use samsoncms\form\tab\Generic; |
| 12 | -use samsonframework\core\RenderInterface; |
|
| 13 | -use samsonframework\orm\QueryInterface; |
|
| 14 | -use samsonframework\orm\Record; |
|
| 15 | 11 | |
| 16 | 12 | /** |
| 17 | 13 | * SamsonCMS application form tab for group security rights selection |