can i use the relation module to replicate (and extend) og functionality (without the need to resort to code). it seems that an "organic group" is simply an instance of a relation, and that group members are endpoints. more specifically: is it possible to set permissions on relations - and define (restricted) actions on those relations (e.g. CRUD)? your views and comments appreciated.

thanks

Comments

Syntapse’s picture

has anyone ever created a schema for o.g. features using relation terminology?

silverwing’s picture

I'm also looking for a non-OG way to do groups.

Don't know if it will help, but I found http://drupal.stackexchange.com/questions/29033/how-to-create-basic-orga... that uses flag, views, and reference.

zilla’s picture

that's a very clever and simple solution for OG-like functionality, honestly, the only drawback that i see revolves around permissions or group administration, you know?

naught101’s picture

Title: vs organic groups? » Relation-based organic groups?
Status: Active » Fixed

It would probably make more sense to create a group as a separate entity, and then use separate relations between the group and each user. That way you can use different relation types (e.g. is_admin, is_member), and you can also field those relations, if necessary. I believe node access based on relations should be possible (there are other issues in the queue dealing with this, if not).

Personally, I'd be quite interested in seeing a relation-based OG implementation. You might also be interested in RedHen CRM, which is a native drupal CRM that uses relation. This shares a lot of concepts with an OG implementation

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.