Any thoughts on an upgrade? Not sure how useful Coder will be.

CommentFileSizeAuthor
#2 og_services.zip9.29 KBzengenuity
#1 og_services.zip9.19 KBzengenuity

Comments

zengenuity’s picture

StatusFileSize
new9.19 KB

Here is a port of this module to D7. A few notes:
1. This works for the 1.x series of OG, since that's what's stable right now.
2. I have included create and delete options in this module, however, I'm not doing any sanity checking on these. So, you can do crazy things like make a group entity for a node whose type isn't even allowed to be group. I'm not sure if it's appropriate to put that sanity checking in the service or not. I'm open to suggestions.
3. I have the set the access control to require "administer group" for all actions. This is probably overly restrictive for things like joining and leaving groups. But it's sufficient for my needs. If someone else wants to take up figuring out the correct permissions here, that would be great.

This module is an important piece of large project I'm working on, so I'm willing to help maintain the 7.x version if that is helpful.

zengenuity’s picture

StatusFileSize
new9.29 KB

There's a typo in the code for that last version. It breaks the user listing option. Fixed in this version.

christianchristensen’s picture

Status: Active » Closed (fixed)

I went ahead and used your 7.x port to begin a 7.x-dev release on og_services.

Note the 7.x-1.x branch in git: http://drupalcode.org/project/og_services.git/tree/refs/heads/7.x-1.x