Project

General

Profile

Actions

Feature #101161

closed

New access right: Show if not logged in

Added by Ian Solo over 1 year ago. Updated 4 months ago.

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

0%

Estimated time:
PHP Version:
Tags:
ux
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

Also available in: Atom PDF