Score:0

How do I display the title of the entities to which the user has no access?

us flag

I created a new content type with entity references to standard pages. I am using the Taxonomy Access Control module to control the access to these pages.

When users view a node of that content type, they unfortunately do not see page titles for which they do not have access (the title is a teaser). I want all entities to be listed (with the links to the pages), even if the users do not have access to actual page. Is that possible?

Score:0
mx flag

It doesn't make sense to list links because if users follow it they will only see the Access denied page.

But you can create a Views list with the titles and disable the node access check for those Views. You have to be really careful not to reveal something unintentionally!

In d8 you can disable the node access check under Query options > Disable SQL rewriting, it may be called differently in D7 but it will be in approximately the same location.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.