make templates configurable + authorization

This commit is contained in:
uurgothat
2021-10-24 19:49:32 +03:00
parent 537da73d38
commit d6cadb02f4
3 changed files with 15 additions and 38 deletions
+2 -4
View File
@@ -164,8 +164,7 @@ export interface ConfigValue {
enabled: Boolean;
allowTemplateCreation: Boolean;
allowDiscordTemplates: Boolean;
allowOtherInstancesTemplates: Boolean;
allowExternalRaws: Boolean
allowRaws: Boolean;
}
}
@@ -332,7 +331,6 @@ export const DefaultConfigOptions: ConfigValue = {
enabled: true,
allowTemplateCreation: true,
allowDiscordTemplates: true,
allowOtherInstancesTemplates: false, //Incomple
allowExternalRaws: false
allowRaws: false
}
};