Uh oh!
There was an error while loading. Please reload this page.
Allow additional personal settings via normal registration - #22589
Conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
dassio
commented
Sep 7, 2020
this is because there is no an personal addtional section in the please check my pull request #22144 |
nickvergessen
commented
Sep 9, 2020
While I agree in general, the one liner is much easier to be backported. So let's make it properly (like in the admin section?) with your PR, and only do the minimal impact PR for the backporting |
nickvergessen
commented
Sep 9, 2020
/backport to stable19 |
nickvergessen
commented
Sep 9, 2020
/backport to stable18 |
dassio
commented
Sep 9, 2020
already closed my PR, this much simpler |
Currently the
Additional settingsfor personal settings only shows when there are legacy panel registered via\OCP\App::registerPersonal('ransomware_protection', 'personal');When this is transformed into a "normal" setting, it works and shows up in the additional section, as long as there is one "old" setting registered, otherwise the menu entry will not show up (but the page will work and show the setting).
So we now check if there is a legacy setting or any other setting registered for additional to determine whether the panel should display, or was this a conscious decision to get rid of the
additionalsection for personal settings but keep it in administration settings?