ifgi / optimetaPortal

Geospatial discovery of research articles based on open metadata
https://projects.tib.eu/optimeta
GNU General Public License v3.0
1 stars 4 forks source link

Can we turn one of "our" users into a superuser than can open the admin backend? #63

Closed nuest closed 1 year ago

nuest commented 1 year ago

Yes we can!

You only need to login as superuser, and then turn the regular user into "staff" and "superuser".

It is also possible to do this programmatically, see code examples at https://gist.github.com/Brachamul/f41ee36ae2b127b99fdfd1e81d4b9f6e

nuest commented 1 year ago

Idea: Have a list of superuser emails as an environment variable!