User should not be able set a parent for non-subscribed group
Amitaibu - November 9, 2007 - 18:27
| Project: | Subgroups for Organic groups |
| Version: | 5.x-3.0-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | ezra-g |
| Status: | closed |
Description
Example:
I have 2 groups A and B
User subscribed to grouped A
User adds a sub-group, but in Add form he's allowed to set the parent as group B.
This is an access violation, as some groups are moderated and don't allow edit them.
In my opinion, groups that user is not subscribed, shouldn't appear in the parents list.

#1
This will be fixed shortly.
#2
Fixed in 5.x-3.0 with commit # 103133. thanks to Amitaibu for pointing this out.
Attached is a patch detailing the changes I made.
#3
Automatically closed -- issue fixed for two weeks with no activity.