Giter Club home page Giter Club logo

ucs2mailman3's People

Contributors

garloff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ucs2mailman3's Issues

Nested groups aren't synchronized

I recently discovered that members of nested LDAP groups aren't synchronized to the corresponding mailing list.

How to reproduce:

  1. Create LDAP group foo.
  2. Add user alice to foo
  3. Create LDAP group bar
  4. Add user bob to bar
  5. Add the group foo as member of bar.
  6. Run ucs2mailman.py -d -n -a ADMIN@DOMAIN -t MLDOMAIN -u udm.users -g udm.groups

The mailing list corresponding to group bar will only consist of member bob.

Nonmembers are moderated by default

Adding other mail addresses from members as non-members does not seem to allow them to post by default. Probably some extra setting is required. . .

Recursing into nested groups not consistent

The parameter '-R' specifies the recursion depth. Current default of 1 suggests that we include exactly one layer of nested groups. Reality is that at least one layer is included: As we just add members from nestedGroups to their ancestors, we may reference a group that already has been processed and thus end up including 2nd level as well.
This is somewhat unpredictable and thus not satisfactory.
Options:

  • Default to a high recursion level, trying to always catch everyone referenced (unless you have crazily nested groups). The recursion limit becomes an implementation detail that makes the runtime bounded.
  • Track nested members differently from direct members.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.