Hi everyone, I m not expert at all in Django so it can be a silly question but I take the risk:
I have to implement *LDAP server* (which work perfectly with *django-auth-ldap*, but my question is not related to this library). I was wondering what happens if groups possesses subgroups? Even if it is not handled in the lib, I assume I can override a recursive mechanism in order to populate the subgroup in the *auth_group* table. BUT my problem is "*How can link subgroups to parent groups*" ? Because through */admin* page, If you create a group, you can only define its permission and nothing else (which make sens if the aim is to have One level group handling), but if I want to implement subgroups, how do you suggest to do it? I found the module django MPTT but does it corresponds to the need? Bur because I already use DRF + Django + Django-auth-LDAP, does its implementation worth it? I though it was possible, thanks to *custom models* which could have as fields *parent-group* and *subgroup* (and maybe more, still thinking about it). Once the model is implemented, should I link my *overriden django-auth-ldap code* to map this Django model in order to make the links? Or should I think differently? Just to be more precise, in my app I will have permissions and groups defined, the aim is, programmatically or through admin interface make also the links between the LDAP groups and my app groups (LDAP server could have every possible trees) I don't know if it is clear enough, if not, do not hesitate to ask me questions, I really need help actually Kind regards, Benjamin. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0c3fbcde-5959-4d48-b9eb-75b94a6ff350%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.