mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
add inbox permission
api permission allows access to the API which can be used to manipulate the Lemmy instance (login, create user, etc) but the instance will not take part in federation. To take part in federation other instances need to `post` to the url `/inbox`
This commit is contained in:
parent
1212f6746f
commit
8d12e31853
1 changed files with 7 additions and 0 deletions
|
@ -62,12 +62,19 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
api.url = "/api"
|
||||
api.allowed = "visitors"
|
||||
api.auth_header = false
|
||||
api.show_tile = false
|
||||
api.protected = true
|
||||
|
||||
inbox.url = "/inbox"
|
||||
inbox.allowed = "visitors"
|
||||
inbox.auth_header = false
|
||||
inbox.show_tile = false
|
||||
inbox.protected = true
|
||||
|
||||
[resources.apt]
|
||||
packages = "postgresql espeak"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue