]> git.mxchange.org Git - friendica.git/commit
Tighten profile restriction feature
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 30 Nov 2022 18:50:52 +0000 (13:50 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 1 Dec 2022 13:03:35 +0000 (08:03 -0500)
commitb83526ad0b2978bce7ae1ed2909bd5ff3cde2fa4
treeeb82151d6bd1e427772a75bc0985c64831e0e349
parent0d53c6961033bb90d3892a87603c7c2bc6d25af0
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
16 files changed:
mod/photos.php
src/Model/Event.php
src/Model/Profile.php
src/Module/ActivityPub/Objects.php
src/Module/Calendar/Show.php
src/Module/DFRN/Poll.php
src/Module/Feed.php
src/Module/Item/Display.php
src/Module/Profile/Photos.php
src/Module/Profile/Profile.php
src/Module/Profile/Restricted.php [new file with mode: 0644]
src/Module/Profile/Status.php
src/Module/Settings/Account.php
src/Module/Update/Profile.php
src/Protocol/Feed.php
static/routes.config.php