If the Lemmy application is given restricted permissions so that only users can access it, the rest of the fediverse will be unable to access the https://example.com/api endpoint which is used to federate and pass data between instances. It might be desirable to have a private Lemmy instance that requires a Yunohost account, but still able to federate with the rest of the fediverse
Solution
Create a separate permission for the https://example.com/api endpoint that is open to visitors at all times regardless of public/private permissions of the Lemmy application.
PR Status
[X] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)
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)
Problem
https://example.com/api
endpoint which is used to federate and pass data between instances. It might be desirable to have a private Lemmy instance that requires a Yunohost account, but still able to federate with the rest of the fediverseSolution
https://example.com/api
endpoint that is open to visitors at all times regardless of public/private permissions of the Lemmy application.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)