hedgedoc: fixed perms

This commit is contained in:
Vivian 2022-05-16 14:17:55 +02:00
parent 73ce586206
commit 3b85e28870
2 changed files with 8 additions and 5 deletions

View file

@ -32,6 +32,8 @@
database.type = "postgres";
ssh.clonePort = 42;
disableRegistration = true;
cookieSecure = true;
settings = {
ui = {

View file

@ -57,8 +57,9 @@ in
config.services.hedgedoc.configuration.domain
"hedgedoc"
];
allowAnonymous = false;
allowEmailRegister = false;
allowAnonymousEdits = false;
allowAnonymousEdits = true;
allowFreeURL = true;
requireFreeURLAuthentication = true;
imageUploadType = "minio";
@ -76,10 +77,10 @@ in
accessKey = "$MINIO_ACCESS_KEY";
secretKey = "$MINIO_SECRET_KEY";
};
github = {
clientID = "$GITHUB_CLIENTID";
clientSecret = "$GITHUB_CLIENTSECRET";
};
# github = {
# clientID = "$GITHUB_CLIENTID";
# clientSecret = "$GITHUB_CLIENTSECRET";
# };
};
};
}