Actions
Feature #101161
closedNew access right: Show if not logged in
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.
Actions