The patch for modifications I discussed in TAC/OG Integration Step 2 (http://groups.drupal.org/node/3700) is located here as well as the latest OGUR distribution:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/somebodysysop...
Instructions for OGUR Release 5.x-3.0 and higher
Once OG User Roles module is downloaded and installed, you must:
- Install the node.module.multinode.patch
- Go to OG User Roles settings and place check in "TAC/OG Access
Control Integration" ("Integrate TAC and OG Access Control"). - Go to OG User Roles settings and click on the "Configure multinode UI"
tab. You will see the "multinode_access" table listing of node
grant realms. You need to make the following changes to this table:
This patch is included in OGUR Release 5.x-3.0 and higher. It is also available from here:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/somebodysysop...
http://ftp.scbbs.com/pub/drupal/TAC_OG/
Download and place this patch file into your Drupal web site "/modules/node"
directory. Then, execute this command:
patch -p0 < node.module.multinode.patch
ogr_access
==========
Place check in checkbox next to "ogr_access" Realm name.
Enter "ogr" in Group column.
Select "OR" as Logic.
Select "1" as Weight.
Select "0" for Check.
term_access
===========
Place check in checkbox next to "term_access" Realm name.
Enter "tac" in Group column.
Select "AND" as Logic.
Select "0" as Weight.
Select "0" for Check.
All other realms should remain unchecked.
See the screenshot of what your table modification should look
like: http://drupal.org/files/OGRConfigureMultinodeUI.jpg
Click on "Save changes" button to save your changes.
- If you do not see ogr_access realm in multinode access table, see: http://drupal.org/node/300421
How to apply patches: http://drupal.org/node/60108
Instructions for OGUR releases prior to 3.0
Previous to release 2.0 of OG User Roles, there are were 3 patches:
og.module.TAC_OG.patch
taxonomy_access.module.TAC_OG.patch
node.module.TAC_OG.patch
As of OG User Roles release 2.0, but previous to 3.0 there is only one patch:
og_user_roles.nodeapi_access.patch
As you read in Step 2, there were several modules that I modified for my own customizations, but the OG, Node and Taxonomy Access Control modules were the basic modules that needed to be modified in order for TAC and OG to work together. In release 2.0 of OG User Roles, I managed to put most of these modifications into the OG User Roles module itself.
The only remaining modification was to the node_access function in the node.module, to handle the updated process of access control. For this, I use the Nodeapi Access patch, which is discussed in length here: http://drupal.org/node/143075 and here: http://drupal.org/node/122173. It is my hope that this patch will make it's way into Drupal 7 core.
You can also retrieve this patch from here: http://ftp.scbbs.com/pub/drupal/TAC_OG
And, it is included in the OG User Roles 2.0 and higher distributions.
Attachment | Size |
---|---|
TAC_OG_README.txt | 1.91 KB |