YunoHost-Apps / lemmy_ynh

A link aggregator for the fediverse.
https://join.lemmy.ml
GNU General Public License v3.0
20 stars 12 forks source link

add inbox permission #63

Closed mdeabreu closed 1 year ago

mdeabreu commented 1 year ago

Problem

Previously added the API permission, but realized that other instances don't federate using the /api endpoint, they post to the /inbox endpoint.

Solution

This adds another permission for the /inbox endpoint to remain public so that the installed instance can remain private (being Yunohost login) but still take part in the fediverse and receive content from other instances.

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)