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"
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue