[Meta] Feature collection

Created on 9 December 2024, 4 months ago

Problem/Motivation

Let's collect what features should be implemented to integrate ECA with Group. We may want to declare the group_actions module as a dependency so that we already get the actions implemented there. This feature collection should therefore focus on things that make ECA life easer without building redundant solutions.

Proposed resolution

  • Event
    • Implement hook_group_operations_alter
  • Conditions
    • Is user X member of group Y
    • Has user X role Z in group Y
    • Is entity X associated with group Y
🌱 Plan
Status

Active

Component

Miscellaneous

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

  • Issue created by @jurgenhaas
  • 🇩🇪Germany Istari

    Some ideas:

    Conditions:
    - Check if Group Content has cardinalities

    Action:
    - Add Group Member
    - Return the amount of cardinalities a Group Content has

  • 🇨🇦Canada avo webworks Ottawa, Ontario, Canada

    Hello @jurgenhaas,

    Thank you for the fabulous module and for wanting to include Group conditions! I am glad the work has started on integration of Group conditions.

    I would love to see:

    • Check if user is in group where it loops through all the groups to see if the user is a member of any and perform actions on the user account depending on the condition
    • Check if a group has a specific field (boolean or otherwise) checked: perform actions on the User accounts fields of all the members in that group
    • Condition: Check if a user has a specific group role and Action: set or remove a Drupal role

    Tanks so much!

  • 🇩🇪Germany jurgenhaas Gottmadingen

    @avo webworks, checking for membership and group roles is something that will certainly be implemented. Checking for field values in a group entity is already possible with basic eca_content plugins, because groups are content entities like all others.

Production build 0.71.5 2024