Node Access Arbitrator written by merlinofchaos is a module API designed to allow multiple node access systems to work together.

As you maybe know this is a big problem in the drupal world of today.
It is not possible to let different node access modules work together.

Please convert your module to this API.
There are two example implementations where you can see how this could be done (workflow_access and forum_access)

Yours sincerely

Tobi

CommentFileSizeAuthor
#5 patch_10469.41 KBmoshe weitzman
#4 patch_10368.42 KBmoshe weitzman
#2 patch_7623.75 KBmoshe weitzman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

This is indeed badly needed. It is also a big project. I am hoping that someone comes along with substantial funding for it. I think "a few thousand USD" would do it.

moshe weitzman’s picture

Status: Active » Needs work
FileSize
23.75 KB

i just took this on my self. here is a prelim patch. views needs more work, and update function is untested. depends on earl's patch that adds na_arb capability to core .. .also has the update for admin/settings page

moshe weitzman’s picture

refreshed for HEAD. KarenS will be looking at the veiws integration for this patch and then it is ready for review+commit. in fact, please review now :)

moshe weitzman’s picture

FileSize
68.42 KB

and the patch. some notes:

- og_basic should no longer be used. create own node type using admin pages. use type=og to make everything work without visiting the settings page.
- only use river of news view. see admin/settings/og
- the 'remove node' link is not appearing on nodes

moshe weitzman’s picture

FileSize
69.41 KB

- fixed glitch in update when adding og_ancestry
- fixed various format_plural(), and documented that change on module updater book page

zeitenflug’s picture

This seems great! Anyone care to detail the installation of the patch and how to use it with Node Access Arbitrator?

zeitenflug’s picture

I used patch < path_104 to patch og.module. The patch uses "module_exists". I had to change this manually back to "module_exist" to make the patch work. Perhaps you're using another drupal version where this function has been renamed. In my drupal install 4.7.3 the function is called module_exist, however.

zeitenflug’s picture

Sorry. The < bug. I applied path_104. It calls the function module_exist by module_exists. I had to change it manually in order to make the patch work.

rubenk’s picture

Is this patch fairly easy to port to 4.7 or is it referring to any hooks etc not found in 4.7?

moshe weitzman’s picture

not especially easy. for one, it includes various other things that pull it into HEAD complaince. second, the node arbitrator module differs slightly from the corresponding functionality now in node.module. i do not plan to work on 4.7 backport.

rubenk’s picture

Thank you for your quick response. I was afraid you'd say that. I suppose I will have to wait a while...until 5.0 to run og and tac simultaneously.

moshe weitzman’s picture

Assigned: Unassigned » moshe weitzman
Status: Needs work » Fixed

finally commtted this one. please BACKUP YOUR DATABASE and then try to update. report any failures in a new issue. if it just worked fine, please post that news here. thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)