plone / plone.app.ldap

Plone UI and integration of the functionality provided by LDAPMultiPlugins, LDAPUserFolder and PloneLDAP
3 stars 10 forks source link

Import/export group mappings #30

Closed adaugherity closed 8 years ago

adaugherity commented 9 years ago

Because these mappings (LDAP group to Plone role) cannot currently be set via the Plone Users and Groups control panel (NotImplemented exception in Products.PloneLDAP.mixins.groupmgmt), they must be set via the LDAPUserFolder in the ZMI, and should be saved/restored with the rest of the LDAP settings upon import/export.

(I fixed the NotImplemented error in collective/Products.PloneLDAP@9a90f98, but they have not yet made a new release, and it is still useful to import/export these group mappings -- e.g. I use it for global groups that give people editor, manager, etc. rights on all our Plone sites, just by loading our LDAP profile.)

Also import some other settings that were being missed, mentioned in #8 and #10. This is only a partial fix for #8 (no UI yet for those settings) but at least they are now properly imported & exported.

adaugherity commented 9 years ago

BTW, thank you for merging #21; sorry for being out of touch. I rebased this import_export branch for a cleaner merge and have sent my contributor agreement to @ableeb.

jensens commented 9 years ago

Changelog entry is missing.

I have no opinion from the functional pov. I'am not deep enough into p.a.ldap to make a decision here.

adaugherity commented 9 years ago

Updated CHANGES & README.

jensens commented 8 years ago

Since it looks clean and is documented I merge.