Open ericof opened 4 months ago
Without plone.distribution
available, do we want to remove the Advanced options? I can imagine that we want to point users to either distributions or just let them install the extra profiles via the Add-ons control panel.
Actually, you can't install "Zope Root Cookie Login" (Products.PlonePAS:root-cookie
profile) in the control panel. You would need to do that via portal_setup
. But that is really an advanced corner case. Since it works on the Zope root, you don't even want it available for install from within Plone. So I think that is fine. Anyway, you can still do that in a Distribution. :-)
Progress during Buschenschankensprint (in the train back actually)
The CMFPlone PR does not "Refactor site creation to be like the function from plone.distribution (supporting a distribution)". I don't really know what that would like like if plone.distribution
is not available, which is the only way that the plone-addsite
view is even visible.
Ah, or do you mean that the factory.addPloneSite
function should be able to install a distribution if plone.distribution
is available? Then this function would accept an extra distribution
keyword argument, and call a function in plone.distribution
. Something like that?
Part of #3854
Tasks
Products.CMFPlone.browser.admin.AddPloneSite
only registered ifplone.distribution
is not available