Rocket.Chat
Rocket.Chat copied to clipboard
first user should be auto admin
Wouldn't it be useful if the first created user in the system/db is automatically flagged with admin privileges? I found it very geeky to have to manually edit the database to set an admin flag.
That's exactly what happens! First registered user is set as admin. Did this not work for you?
https://github.com/RocketChat/Rocket.Chat/blob/develop/server%2Flib%2Faccounts.coffee#L83-L85
Ah, okay... maybe the same issue as the meteor thing, cause I was up to follow this guide: https://github.com/RocketChat/Rocket.Chat/wiki/Creating-the-First-Admin