Inherit access permission from referenced node

Created on 26 July 2013, over 11 years ago
Updated 5 April 2023, over 1 year ago

Hello,

I'm using the module "Entity reference" and "Node access user reference" to grant permissions to users and can see certain nodes, but this nodes have referenced nodes, like child or related nodes. I would like that the child nodes inherit the user access permission.

For example:

User is referenced in node X
node X is referenced in node Y

So only this User can see the node X and Y (Y inherit the access permission of X)

For now I can create a .tpl file for the child nodes(which are another content type), I saw that I can get the access permissions from the reference field in Y, but this is the ease way? Entity Reference or Node access user reference have a best method?

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

🇻🇪Venezuela RAFA3L

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024