sandstorm-io / sandstorm

Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
https://sandstorm.io
Other
6.74k stars 707 forks source link

Sandstorm should be able to read a user's quota information from LDAP #2068

Open paulproteus opened 8 years ago

paulproteus commented 8 years ago

Context:

Plan:

Open questions:

Previous proposal:

fgiorlando commented 8 years ago

It would be good if this information also showed up in the sandstorm admin panel. I wonder if it may even be simpler to have sandstorm pull data from LDAP so that user details and quota can be maintained and administered by standard methods.

This would work well for account management too, as there are tools for adding users to LDAP in WHMCS: https://github.com/pawl/WHMCS_LDAP It wouldn't to be too hard to modify this so that the basic use case would be:

u9nlzx4ewa0ghflzyysrw0-wc10jb20ner2xmrcb4hazxbt2lttp9q7bspbvaoqnelc26u6zitwicqnyxc2gq8qmy_mfkyjpucwebgbr6i0-qcxp6g3ifjl4a1oo9yrrx2zpv8eghq4ugbhzl_12i7dqjw029texozbnef0jrync_ayzlm-ckxpgwlrlpekafqvzug2bpqe_vw3czr4m

This would seem the simplest way to ensure the data is consistent.

paulproteus commented 8 years ago

Hi @fgiorlando ,

I'm hopeful we can nail-down the technical requirements here.

I listed a few possible ways to implement it here:

https://oasis.sandstorm.io/shared/JdeIxfJZN78awrUCt7psa6Lpc-Go10477GwDM8XJ2ib

along with some remarks on their upsides and downsides.

Let's discuss that here, so that we can reach a confident conclusion of how the data flow should work, so we can implement what you need!