Closed (fixed)
Project:
Organic Groups Services
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2011 at 15:48 UTC
Updated:
10 Apr 2012 at 01:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
zengenuity commentedHere 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.
Comment #2
zengenuity commentedThere's a typo in the code for that last version. It breaks the user listing option. Fixed in this version.
Comment #3
christianchristensen commentedI 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