Hi,

I have to two content types A and B.

B contains a node reference field to A and I am using node reference widget url.

So now when a user creates a content of A content type and then only he(or admin) should be able to add/edit any child nodes of content type B and not any other user.

Can anyone tell me how to configure this.

Thanks in advance
Shyam

Comments

benone’s picture

Did you find the answer ?

shyam541’s picture

I managed to add code in node reference widget url module for this extra validation. I can share the code with you if you want.

Shyam

scyllar’s picture

Hi Shyam541, Can you send me the code (scyllarjw at gmail.com) or share with the rest of us here, please?

I have two content type: a "catalogue", and a "product" that references the "catalogue" contents. I want to restrict the user to select only his own "catalogue" rather than all the catalogues available while the user posts a "product".

Thanks in advance.

scyllar’s picture

Just for future references of others, this issue has been resolved, thanks to this post -
http://drupal.org/node/793750