Hi,

where I can set, in which content types the users can set the Content Access?

I have the standard content type "articles". In this, I can set the Content access. I created a new one for Image Galleries with CCK Fields, but I couldn´t see the relationships-settings in there. Also when I directly looked into the settings of the content type, I wasn´t able to find anything of it.

Where can I find the settings or does it just not work with custom content types?

Thanks for any help,
Marc

Comments

alex.k’s picture

It's under /admin/content/user_relationship_node_access

karc2008’s picture

Thanks, sometimes i´m just too blind. I also found an answer to this in a different context now.
Sorry for not searching long enough before asking silly questions.

But I need to ask one more question: Is it possible to show a message, if user doesn´t have the right to access a node?

Like:

"This content can be just be views by "relationship type". Become "relationship type" of User XYZ."
If not, will this be included in future versions or is it already included in one of the newer versions?

thanks again.

alex.k’s picture

No problem. To your second question, the user will just get a 403 error, but you can use the Custom Error module to display what you need.

karc2008’s picture

Thanks for your answer..

I already did that. But if it´s shown in a view, is there a way to do it?

Because I integrated all the user content as views with quicktabs in the profile.

The View takes the first picture of each Album and shows it. And it´s just empty, if the access is restricted just to selected relationships.

If its not possible, I will just put a message at the end of each view.

I already tried to find a solution by settings in the views, but I failed. Also I found this code:

http://drupal.org/node/446798

But i don´t really know, if it fits to my problem and how this code has to be changed to just displaying a message.

It would ideal, because the user could made some Conent private and others not, to show a message as placeholder for the fields of the content, which are denied to show up.

But I guess, this could get really complicated. I also looked for view-modules, but couldn´t find any, which would could solve this problems.

thanks again,
Marc

alex.k’s picture

That's about all I can think of wrt UR Node Acces I'm afraid.

karc2008’s picture

Status: Active » Fixed

Ok, no problem. I will just put a line at empty text in this case. Better than leaving the viewing user without any infos.

Thanks for your efforts,
Marc

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.