Hi there,

This module looks really useful for a collaborative website! IS there any chance there could be a version for drupal 5! Is this still under developpement and maintaining?

Thanks
Patchak

CommentFileSizeAuthor
#4 5x_up_og_audience_1.patch16.91 KBpwolanin

Comments

David Lesieur’s picture

Patches to port this module to Drupal 5 are welcome!

pwolanin’s picture

patchak has arranged for me to update this module to 5.x. Can I have CVS access? Otherwise, can you branch for 4.7 so that a patch for 5.x can be applied to HEAD?

Here's my basic plan for using the API:

- we don't want to call node_save() to make these updates, or directly mess with the {node_access} table.

- for the node access system part, we can use the node_access_acquire_grants() function to update the node access table.

- for the og part of this, we will use the og API function og_save_ancestry() to get og to update its tables.

pwolanin’s picture

Title: Updating to 5?? » Update og_audience to 5.x
Assigned: Unassigned » pwolanin
Category: feature » task

Digging into the code- one observation: the current code only allows re-assignment if the node already belongs to a group. I guess there is no good way to set the "Public" setting if it's not already part of a group?

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new16.91 KB

Attached patch updates the module for 5.x. I think it's RTBC, based on my testing. Note new settings page and black, as well as updated REAME.

David Lesieur’s picture

Unfortunately, I won't be able to do a proper review right now, but you now have cvs access, feel free to use it. :-) Thanks for this work, and sorry for the lack of feedback so far!

pwolanin’s picture

Ok, no problem. The API calls might be useful if you need to update OG Public Access.

pwolanin’s picture

Status: Needs review » Fixed
  • code branched with DRUPAL-4-7 tag.
  • 4.7.x-1.x-dev moved to DRUPAL-4-7 branch.
  • Druapl-4-7 branch tagged for 4.7.x-1.0 release.
  • 5.x update commited to HEAD.
  • HEAD tagged for Dupal-5.x-1.0 release.
Anonymous’s picture

Status: Fixed » Closed (fixed)