Project

General

Profile

Actions

Feature #101161

open

New access right: Show if not logged in

Added by Christian Toffolo about 1 year ago. Updated about 1 year 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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #52225: Frontend user access for users which are not in selected usergroup(s)NewMathias Schreiber2013-09-24

Actions
Actions #1

Updated by Riccardo De Contardi about 1 year ago

Looks similar to #52225 or am I wrong?

Actions #2

Updated by Georg Ringer about 1 month ago

  • Related to Feature #52225: Frontend user access for users which are not in selected usergroup(s) added
Actions

Also available in: Atom PDF