2

If there are 3 content types that user can create A, B and C. A is main content, B and C are secondary content types, each time B or C created they automatically have reference to A. My goal is to make possible optionally create reference on C node to B, by displaying check list (when C node is edited/created) with B nodes from same A node. This nodes can have only 1 author and only 1 main A node, so C2 can not be referenced to A1 or B1, only to A2-B2, even if they have same author.

What can be the best way to create such reference filter/pernissions?

Thanks

1 Answer 1

4

You can create a View of type References, and then configure the Node Reference field to use that View.

So you configure the View to only list nodes that the current user is the author of, and any additional filters you want. That should give you what you want.

Look for this area when you edit the Node Reference field: enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.