Needs review
Project:
Subgroups for Organic groups
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2011 at 14:40 UTC
Updated:
26 Apr 2012 at 15:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
MauPalantir commentedI have exactly the same problem... I need user propagation when the group admin adds a member to a subgroup
Comment #2
mindaugasd commentedsubscribing
Comment #3
robcarrIt seems there are 2 schools of thought on this: propagation should happen regardless vs group joining criteria should be adhered to (the inverse request of this issue is #1080298: User propagation adds users to non open groups ... ). As there seems to be a lot of of issues raised around this issue, it seems that there are 2 distinct use case for this module, and it would be nice to cater for both.
So, I agree with @franz, there should be some sort of override toggle for overriding the group membership requests available.
Comment #4
robcarrA bit of hacking this morning and and I've added a 'Override Group Joining Criteria' option on the propagation page. Seems to work fine for the og_subgroups_prop module, although only tried the parent direction so far.
Rolled against 6.x-1.0-beta3... not tried against DEV, but probably worth a shot. Very tempted to correct typos in the
$form['propagte_content']but life's too short. Please review and change to RTBC if it seems fine (although may need to be re-rolled against DEV)Comment #5
robcarrActually a bit more testing... If the override is used, and users are subscribed by propagation to a 'Closed' parent group, that parent group still requires final admin approval. Not quite sure that's what's exactly needed for this generic use case but it works well for my current project.
Any thoughts?
Comment #6
robcarrAnd another patch which is a full override so that no final approval is needed.
Any thoughts?
Comment #7
franzthis needs soft-tabbing
again
Apart from coding standards, seems a nice solution.
Comment #8
robcarrHad another rethink and now changed the logic so that you can select either:
This should meet most use cases.
So re-roll of the day #3. Hopefully no tabs.
Comment #9
robcarrComment #10
Anonymous (not verified) commentedIf I have a closed group, only administrator can subscribe a user.
So, I made a patch to propagate the membership to the soubgroups only if an admin made the subscription.
In this way, we follow the standard behavior, without the need to force it.
Comment #11
Anonymous (not verified) commentedThis is the new patch that makes subscribed members approved
Comment #12
cspiker commentedThe patch in #8 works well. Seems like a good solution.
Comment #13
sutharsan commented