From fd5793cbe23668447c1fae86a2c99afdbe33c5cc Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Fri, 19 May 2023 11:00:47 +0000 Subject: [PATCH] fix api permissions --- manifest.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index dff2eca..30b9869 100644 --- a/manifest.toml +++ b/manifest.toml @@ -46,10 +46,9 @@ ram.runtime = "350M" type = "group" default = "all_users" - [install.is_public_api] - ask.en = "Should Paperless-ngx API be accessible for apps." - type = "boolean" - default = false + [install.init_api_permission] + type = "group" + default = "visitors" [resources] [resources.sources] @@ -70,7 +69,12 @@ ram.runtime = "350M" [resources.permissions] main.url = "/" + main.auth_header = false + api.url = "/api" + api.show_tile = false + api.auth_header = false + [resources.ports] main.default = 8095