Project

General

Profile

Actions

Feature #101161

open

New access right: Show if not logged in

Added by Christian Toffolo 10 months ago. Updated 10 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-06-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Use case: I want to hide a page only from users in a specific user group (e.g. SpecialUsers). So the page should still be visible if a user is not logged in.

AFAIK, at the moment, there's no way to do this in TYPO3.

I think the best solution to this problem is to implement a new default access right: "Show if not logged in"
This way I can put all users who are not SpecialUsers in a group "No SpecialUsers".
Then I will set the access right to the page as:
  • "Show if not logged in"
  • "No SpecialUsers"

This way the page will be visible if a user is not logged in and if a user is in the "No SpecialUsers" group (i.e.: users not in the "SpecialUsers" group).

Another solution could be to split the access right field in two:
- Visible to
- Hidden to
But that is probably too complicated.

Actions #1

Updated by Riccardo De Contardi 10 months ago

Looks similar to #52225 or am I wrong?

Actions

Also available in: Atom PDF