TZM / tzm-blade

ZMGC Application empowers members with on-line tools, by providing a free infrastructure to easily exchange, analyse and disseminate information in a scalable, non-blocking manner using only Open Source software build by the community for the community. It is about building lasting and deep solidarity versus cheap and fast Facebook or Twitter campaigns
www.zmgc.net
GNU General Public License v3.0
4 stars 8 forks source link

Admin page for managing users #44

Closed ofShard closed 10 years ago

ofShard commented 10 years ago

https://github.com/MassDistributionMedia/tzm-blade/issues/2 #41 access via /user/list

nkhine commented 10 years ago

do i have to manually set a user as an admin from the mongodb console?

ofShard commented 10 years ago

Yes, something like that. I just temporarily commented out the line of code that checks admin status myself.

It might be preferable to have some system during installation, but if this app isn't intended to be distributed, it might not be worth developing.

nkhine commented 10 years ago

i prefer to have an initial admin user and pass this on the server start as an option, so something like:

$ node app -e norman@domain.tld run.js
password: ************

as this application would eventually be distributed.