bounties icon indicating copy to clipboard operation
bounties copied to clipboard

migrate the membership DB to LDAP

Open dckc opened this issue 7 years ago • 6 comments

context: today's meeting

This is assigned to @ian-bloom only as a proxy for @jeremybusk , who doesn't seem to be connected to this repo in the relevant way.

cc @nashef

dckc avatar Mar 17 '18 16:03 dckc

@ian-bloom it occurs to me that in order to complete this, we need to update the code / service behind https://member.rchain.coop/ .

  • Do you expect @jeremybusk to do that?
  • Do you want me to look into it? If so, I need either
    • access to the current source code or
    • encouragement to abandon the current code and start over
      • my approach would be to design it as a Rholang app (see also #279) and use Capper (an ocap node.js library) as an approximation to start with.

dckc avatar Mar 17 '18 16:03 dckc

I'm a lot more comfortable with version-controlled text formats for critical data.

I suppose there's a reasonably straightforward way to dump the LDAP database and check it in somewhere...

dckc avatar Mar 17 '18 17:03 dckc

In #428 I'm reminded you prefer multi-language wordpress for https://member.rchain.coop/ . wordpress and PHP are hopeless when it comes to object capability security.

While I have experience with Capper, I get the impression the current code is written in scala. It's at least moderately straightforward to maintain object capability discipline in scala. Plus, more people learning scala means more people ready to contribute to the platform.

dckc avatar Mar 17 '18 17:03 dckc

+1 Yes, let's please migrate the member database into LDAP. That's exactly what we need to scale.

kitblake avatar Mar 18 '18 10:03 kitblake

@kitblake care to elaborate? On reflection, I don't understand exactly what motivates using LDAP over an SQL database such as the one built in to WordPress or drupal.

In particular: I'm increasingly getting the impression that member profiles will be edited using WordPress. Does WordPress know how to read / write LDAP?

dckc avatar Mar 22 '18 18:03 dckc

Yup... this WP plugin looks pretty mature and offers updating LDAP attributes via the WP UI and such...

Active Directory Integration / LDAP Integration

dckc avatar Mar 22 '18 18:03 dckc