Opened 12 years ago

Closed 12 years ago

#539 closed task (wontfix)

Make first created user an admin

Reported by: spaetz Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

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 spaetz, 12 years ago

P.S. There is a way already : ./bin/gmg makeadmin

comment:2 by Christopher Allan Webber, 12 years ago

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.