mirror of
https://github.com/YunoHost-Apps/paperless-ngx_ynh.git
synced 2024-09-03 19:56:33 +02:00
fix api permissions
This commit is contained in:
parent
c72064024c
commit
fd5793cbe2
1 changed files with 8 additions and 4 deletions
|
@ -46,10 +46,9 @@ ram.runtime = "350M"
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "all_users"
|
default = "all_users"
|
||||||
|
|
||||||
[install.is_public_api]
|
[install.init_api_permission]
|
||||||
ask.en = "Should Paperless-ngx API be accessible for apps."
|
type = "group"
|
||||||
type = "boolean"
|
default = "visitors"
|
||||||
default = false
|
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
@ -70,6 +69,11 @@ ram.runtime = "350M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.auth_header = false
|
||||||
|
|
||||||
|
api.url = "/api"
|
||||||
|
api.show_tile = false
|
||||||
|
api.auth_header = false
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 8095
|
main.default = 8095
|
||||||
|
|
Loading…
Add table
Reference in a new issue