Opened 10 years ago
Closed 10 years ago
#539 closed task (wontfix)
Make first created user an admin
|Reported by:||spaetz||Owned by:|
Currently there is no way to make someone admin but to fudge with SQL directly. It's common practice to set up an admin account after installation, so it's reasonable to auto-admin the first created user. I expect that any admin can then give admin rights to other users via the web UI.
I'd like to have cwebbers input on this before working on this task though :).
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
|Status:||new → closed|
I don't think this is a good idea. I might be setting up a mediagoblin instance for a client and either I don't know about this side effect or something. And we could prepare the user for it by asking them a question but what if it's a script and the script gets stuck on the input?
I'd rather instead have the docs clearly instruct on how to make an administrator if they don't.
P.S. There is a way already : ./bin/gmg makeadmin