Skip to content

Show description of MRF policies on about page

Currently the MRF policies require a description function. The content is shown in /nodeinfo/2.0.json[1]. I see in the file pleroma-fe/src/components/mrf_transparency_panel/mrf_transparency_panel.js that there is explicit selection for certain MRF-policies, but no general fall back which means that most MRF's wont have their description shown.

Would it be possible to have a general fallback so all descriptions are shown?

The description can

  1. not be shown in the nodeinfo at all (in which case it obviously wouldn't be shown in the fe either)
  2. be a simple key value pair
  3. be a key value pair where the value is an array or map (can go on recursively)

[1] In this example the mrf policy is called mrf_sample and it's a simple key-value pair
image

Edited by Ilja