From 9259a89c05d182b026c17bf3081acbf4dbcadd6a Mon Sep 17 00:00:00 2001 From: heyarne Date: Thu, 11 Aug 2022 08:06:01 +0200 Subject: [PATCH] Set up password auth --- metadata.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/metadata.yml b/metadata.yml index 5720fde..a238c5f 100644 --- a/metadata.yml +++ b/metadata.yml @@ -1,6 +1,14 @@ description: | This is a somewhat random collection of statistics I found on the internet that, let's hope, help me win arguments. +plugins: + datasette-auth-passwords: + diogenes_password_hash: + $env: "DIOGENES_PASSWORD" + actors: + diogenes: + id: "diogenes" + name: "Diogenes" databases: earth: description: | @@ -25,3 +33,6 @@ databases: source: "Our World In Data" source_url: "https://ourworldindata.org/grapher/projected-population-by-country" license: "CC-BY 4.0" + tracks: # this is for authenticated users only + allow: + id: diogenes