Allow public dashboards

Dashboards can now be marked as publically visible in the user
preferences. The dashboard URL has changed from /user/<name>/dashboard
to /dashboard/<name> because /user/<name> requires being logged in as
<name> or as an admin.
This commit is contained in:
Eelco Dolstra
2016-05-27 12:00:20 +02:00
parent f3a3f8de46
commit f70946efca
5 changed files with 43 additions and 6 deletions

View File

@ -10,7 +10,8 @@ create table Users (
emailAddress text not null,
password text not null, -- sha256 hash
emailOnError integer not null default 0,
type text not null default 'hydra' -- either "hydra" or "persona"
type text not null default 'hydra', -- either "hydra" or "persona"
publicDashboard boolean not null default false
);