Another scenario

Created on 20 January 2011, over 14 years ago
Updated 28 October 2024, 7 months ago

LS,

I'm preparing a next drupal project and I consider the OG module as a very good candidate to be included in it :-) However I would like to know if CRUD can be based on memberships of multiple groups. I've 'some' experience with OG, but haven't had the opportunity to look into this matter. I'll elaborate what I want, with a small use-case. I've taken this use-case into the realm of education, but it's also applicable on several other realms (business for instance with organisation/proces groups).

There are 2 group types; a) Domain and b) Education
There is a contenttype: Course

The following groups exists:
- Domaintypes: French Language, English Language
- Educationtypes: First Grade and another one called: Second Grade

The following contenttypes Course exists:
- French First Grade
- French Second Grade

A student is a member of:
a) one or more groups of the type Domain
AND
b) one group of the type Education

What I would like to have is some CRUD based on the memberships of the groups. For instance in a way that the post 'French First Grade' can only be read by members of the groups: Domain Language AND Education First Grade

What I would like to know is:

  1. Can this be done with OG?
  2. If not, is there an existing sub module for this concept?
  3. If it can be done with OG, can anyone point me in the direction of setting this up? (any OG (submodule) settings and/or og_access_hooks or so)
  4. Should I define my own content_type_course module where I can specify the CRUD access rules and are there any caveats to this

Thx for reading (and answering of course) this.

Best,
VinceW

💬 Support request
Status

Closed: outdated

Version

2.1

Component

og.module

Created by

🇳🇱Netherlands VinceW

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    This version of Drupal is not supported anymore. If this is still an issue in the 8.x-1.x branch, please open a new up-to-date ticket. Closing.

Production build 0.71.5 2024