Tighten profile restriction feature
- Prevent feed access to restricted profiles - Rework display of restricted profiles with a redirect to the profile/restricted route - Normalize permission checking with IHandleUserSession->isAuthenticated - Remove unusable "nocache" parameter in feed module because session isn't initialized - Reword setting name and description
This commit is contained in:
@@ -91,7 +91,7 @@ class Show extends BaseModule
|
||||
|
||||
$this->page['aside'] .= Widget\CalendarExport::getHTML($this->session->getLocalUserId());
|
||||
} else {
|
||||
$owner = Event::getOwnerForNickname($this->parameters['nickname'], true);
|
||||
$owner = Event::getOwnerForNickname($this->parameters['nickname']);
|
||||
|
||||
Nav::setSelected('calendar');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user