Closed (fixed)
Project:
User Relationships
Version:
6.x-1.0-rc2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 17:00 UTC
Updated:
24 Dec 2009 at 19:00 UTC
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
Comment #1
alex.k commentedIt's under /admin/content/user_relationship_node_access
Comment #2
karc2008 commentedThanks, 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.
Comment #3
alex.k commentedNo 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.
Comment #4
karc2008 commentedThanks 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
Comment #5
alex.k commentedThat's about all I can think of wrt UR Node Acces I'm afraid.
Comment #6
karc2008 commentedOk, 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