- 🇧🇪Belgium tijsdeboeck Antwerp 🇧🇪 🇪🇺 🌎
Re-rolled patch against Vitals 2.3
The vitals endpoint router checks the "View published content" ('access content') permission to allow access to the endpoint. While it makes sense to provide an access check, it is not very useful to use the access content permission.
Scenario 1:
When you don't want anonymous users to access your content (intranets for example), the vitals endpoint isn't available.
Scenario 2:
Maybe you only want to allow logged in users to access the endpoint. You don't want / can't to disable the "View published content" permission.
Turn off the "View published content" permission, and try to access the Vitals endpoint as an anonymous user. You'll be greeted by a 403.
Replace the 'access content' permission check in vitals.routing.yml with a custom 'access vitals endpoint' permission. This permission should be active by default.
Postponed: needs info
2.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Re-rolled patch against Vitals 2.3