- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Do it, if it's simple (e.g. by layout type / template). Do it much later, if it's complicated.
- Issue was unassigned.
- 🇩🇪Germany Anybody Porta Westfalica
This is based on the permission:
entity_by_access_role_field.ignore_permission
from entity_by_access_role_field module.So if the user has that permission, he'll also see the hidden layout. But of course he'll also see layouts which he has a permission on, so when this indicator should not be shown. The logic isn't that simple though.
As this will so surely take up more than 15-30 min of work, we should not implement this, until we have nothing else to do ;)
- Status changed to Postponed
over 1 year ago 11:48am 8 May 2023 Not cleanly solvable without any flags or methods I can use in the template.
The Entity Access module should set flags like
- access_is_restricted (bool)Probably
- access_for_roles (arr)
- access_for_roles_inverted (bool)
if we want to list the restricted roles.Or a method like ENTITY.isPublished()
- 🇩🇪Germany Anybody Porta Westfalica