I'm learning User Relationships and I can't find the Node Access settings. UR Node Access module is enabled. I've checked /admin/content/user_relationship_node_access and the content types but no luck. Suggestions?

Drupal 6.13
PHP 5.2.10

CommentFileSizeAuthor
#2 UR_node_access.png29.5 KBjtjones23

Comments

alex.k’s picture

Have you enabled permissions for user_relationship_node_access module under admin->users->permissions?

If you only grant "grant view permission to related users" then the UI is simplified to "Post to social network", if more are granted, then it's a more complicated form.

jtjones23’s picture

StatusFileSize
new29.5 KB

Originally I had "grant view permission to related users" enabled. I've added "grant delete permission to related users" and "grant update permission to related users". I still get the attached image. Should I be seeing something else?

alex.k’s picture

Assigned: Unassigned » alex.k

Apologies, the module doesn't come with any installation instructions. The steps would be as follows (will commit as README.txt if it works for you):

The module allows node authors to share their posts with users with whom they have an establish relationship. It's also possible to grant edit and delete rights to related users. The module works together with Organic Groups, if installed, allowing author's related users who aren't in any selected OG audience to still access the post.

Configuration
-----------------
1. Enable the module under Admin -> Site Building -> Modules
2. Under Administer -> Users -> Permissions, enable the "grant view permission to related users" permission to desired user roles that will be sharing their posts with their related users. For example, authenticated users
3. Under Administer -> Content Management -> Posting to social network enable the content types you with to be shareable. For our example, we'll enable Blog entry. Content types that are not checked will not have the "Post to social network" fieldset on the node creation/edit form
4. Now, when a user in the role you set in step 2 goes to create one of the enabled content types, they will see a fieldset called "Post to social network". In it they can check which types of relationships (out of those defined on your site) can see this post.

Advanced usage
-----------------
If you grant additional permissions "grant edit permission to related users" and "grant delete permission to related users", the form component on node creation form will change to a more complicated matrix of checkboxes, where node author can allow certain relationships to also edit and/or delete the node. This can be used for peer review, document approval, and other use cases.

Theming
-----------------
The standard "Post to social network" form component can be themed using standard Drupal form theming approaches. See http://api.drupal.org/api/file/developer/topics/forms_api.html/6.
Advanced form component "User Relationships Node Access" is themed by function theme_user_relationship_node_access_form($form), which you can override in your theme.

alex.k’s picture

Issue tags: +rc3block
jtjones23’s picture

The instructions work but I should have been looking at the UR views to see the user content that I was looking for:)

Thanks anyway

alex.k’s picture

Status: Active » Fixed

No problem. Sometimes that's the only way things get documented :) Committed http://drupal.org/cvs?commit=254804

Status: Fixed » Closed (fixed)
Issue tags: -rc3block

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