Admin: Adds setting to disable creating initial admin user (#19505)

Adds a new setting disable_admin_user and when true the default 
admin user will not be created when Grafana starts for the first 
time (or no users exists in the system).

Closes #19038
This commit is contained in:
Shavonn Brown
2019-11-08 11:11:03 +01:00
committed by Marcus Efraimsson
parent 7ebc4a1568
commit 3e5abe7c21
7 changed files with 110 additions and 67 deletions
@@ -305,6 +305,12 @@ Example connstr: `127.0.0.1:11211`
## [security]
### disable_initial_admin_creation
> Only available in Grafana v6.5+.
Disable creation of admin user on first start of grafana.
### admin_user
The name of the default Grafana admin user (who has full permissions).