Active
Project:
Subgroups for Organic groups
Version:
5.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2008 at 18:41 UTC
Updated:
15 Nov 2008 at 21:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
amitaibuWhere do you see this settings? (Better - can you find it in the code?)
Comment #2
somebodysysop commentedAdminister->Organic Groups->Organic groups subgroups configuration
admin/og/subgroups
Attached is screenshot of current configuration. Is this correct to NOT have user propagation?
Comment #3
amitaibuDo you have other OG related modules enabled? Can you point me to the line in the code that places this checkbox - I kind find it (nor remember i put it there :)
Comment #4
somebodysysop commentedIn og_subgroups_settings() the variable og_subgroups_propagate_members is set:
Since I don't check anything, og_subgroups_propagate_members should be NULL when it hits here:
The above function _og_subgroups_propogate_user_get_tree is called from the following function:
And the above function og_subgroups_propogate_user, of course, is called by og_subgroups_og every time a user is added/removed from a group:
I queried the variable table and this is what I got:
Overall, not sure why I'm getting the results I am.
Comment #5
amitaibu@SomebodySysop,
You are not answering my question. Please do a find "Click here if you only want users to be able to select groups in which they are administrators" on your modules. This option is _not_ in og_subgroups 5.x.-4.dev - do you have the latest version?
Comment #6
somebodysysop commentedOops. You're right. Sorry!
I forgot that I submitted patch: http://drupal.org/node/301771. I hadn't gone further because I don't even have a 6.x version of my module. The relevant changes (you can also see patch here: http://drupal.org/files/issues/og_subgroups.module.admin_.patch):
So that I could optionally list just the groups that a user was admin for in the outline:
Finally:
The end result of this is to make sure that a user who can create subgroups can only see groups that he is admin in. I don't think this would affect the propagation code, but I could be wrong.
Comment #7
somebodysysop commentedAlso: The lastest 5.x.-4.dev is dated June 2008. I patched it in August 2008, so I would assume I have the latest version, unless another has been released since then.
Comment #8
amitaibuLet's move the issue back to #301771: Limit Groups in Outline to just those a user is admin in. However like I told you there - the D5 version is a bug fix only.
Comment #9
somebodysysop commentedBut, the issue at hand is Unwanted User Propagation
This has nothing to do with "limiting groups in outline...". I submit that my patch has nothing to do with the propagation issue. However, if it will make things more clear, I will use an unpatched version of the latest 5.x.-4.dev download to verify.
Comment #10
somebodysysop commentedYes, the latest unpatched version does the same thing. Is the problem perhaps that there should be a "none" option for user propagation?
Comment #11
amitaibuWhen all the checkboxed are disabled there shouldn't be any propagation. I can't seem to reproduce it.
Comment #12
somebodysysop commentedOK. Will test some more to see if I can track it down. Will report back what I find. Thanks for looking at it.
Comment #13
ezra-g commentedAny update here, SomebodySysop?