The attached patch provides three enhancements:
- Add a field "parent_id" and an array "parents" containing a recursive list of all parent id's to user objects.
- Alter the user_profile_form to change the user's parent user.
- Allow to define initial roles depending on the parent's roles.
I hope that this patch might be useful for you :-)
| Comment | File | Size | Author |
|---|---|---|---|
| subuser-tasmiro-enhancements.patch | 6.2 KB | Cybso |
Comments
Comment #1
jerrydqcn commentedwo! this is exactly what i want. I'd like to thank the authors of both Subuser and this patch. I've been trying to get the function using other modules but never satisfied, until I found Subuser. After some time I was considering how it would be much better that i can change the parent of the subusers, ha, i'm so lucky to find -- it's already been here!
Comment #2
deejmer commentedWith this patch, is one able to associate an account to a parent user, even if the account was not established by a parent user in the first place?