mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix #2702: Disable content search for guest users due to space visibility
This commit is contained in:
parent
dd9b9cf877
commit
eaea259383
@ -23,6 +23,7 @@ HumHub Change Log
|
||||
- Fix: Add example users to default Users group
|
||||
- Fix #2851: getting model attribute value using Html::getAttributeValue()
|
||||
- Fix #2844: Directory member search broken on page 2
|
||||
- Fix #2702: Disable content search for guest users due to space visibility
|
||||
|
||||
|
||||
1.2.3 (October 23, 2017)
|
||||
|
@ -41,13 +41,10 @@ class SearchController extends Controller
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function behaviors()
|
||||
public function getAccessRules()
|
||||
{
|
||||
return [
|
||||
'acl' => [
|
||||
'class' => \humhub\components\behaviors\AccessControl::className(),
|
||||
'guestAllowedActions' => ['index']
|
||||
]
|
||||
['login']
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user