Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#5 | patch_104 | 69.41 KB | moshe weitzman |
#4 | patch_103 | 68.42 KB | moshe weitzman |
#2 | patch_76 | 23.75 KB | moshe weitzman |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedThis 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.
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedi 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
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedrefreshed 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 :)
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedand 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
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commented- fixed glitch in update when adding og_ancestry
- fixed various format_plural(), and documented that change on module updater book page
Comment #6
zeitenflug CreditAttribution: zeitenflug commentedThis seems great! Anyone care to detail the installation of the patch and how to use it with Node Access Arbitrator?
Comment #7
zeitenflug CreditAttribution: zeitenflug commentedI 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.
Comment #8
zeitenflug CreditAttribution: zeitenflug commentedSorry. 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.
Comment #9
rubenk CreditAttribution: rubenk commentedIs this patch fairly easy to port to 4.7 or is it referring to any hooks etc not found in 4.7?
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commentednot 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.
Comment #11
rubenk CreditAttribution: rubenk commentedThank 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.
Comment #12
moshe weitzman CreditAttribution: moshe weitzman commentedfinally 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.
Comment #13
(not verified) CreditAttribution: commented