mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
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:
parent
0d53c69610
commit
b83526ad0b
16 changed files with 135 additions and 84 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue