Open dvidsilva opened 7 years ago
I'll handle this one. My idea is to manually set up a super admin in the mongoos. That super admin would then be able to use the app to make other users admins when the super admin views the profile. Also admins would be able to create other admins. I'll have a middleware that will reject requests to create admins for non admins or superadmins. Let me know if this works then I'll assign it to myself and get to it.
Hi, perfect, that works, couple of questions.
Thanks!
Yeah we can have emails sent to them. We can hook it up with sendgrid to handle email sending and use their free plan.
Yes the first super will need to be entered manually. Can't think of another way of doing it.
@dvidsilva any updates on this?
Hi, @jideokus yeah i thought you were gonna add some code for us to checkout. we can chat on slack or so, but i think that any route you take will be good. lmk!
Ah my bad. I'll get to it pronto.
On Mon, Oct 30, 2017 at 9:49 AM, Dvid Silva notifications@github.com wrote:
Hi, @jideokus https://github.com/jideokus yeah i thought you were gonna add some code for us to checkout. we can chat on slack or so, but i think that any route you take will be good. lmk!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TechForPR/chefsForPR/issues/2#issuecomment-340488065, or mute the thread https://github.com/notifications/unsubscribe-auth/AIOZHvzHwvT7U3i4eOjslQnl-sKCZlM0ks5sxfAigaJpZM4P5Ilx .
-- Babajide J. Okusanya
Super admin users can assing new users to be admins, there should be a secret endpoint or a way to do this. Which is not super clear to me.
Or, if easier, describe the steps necesary to do this on the mongod console.