[Product-Developers] Hiding Add-ons from Site Setup
ddellaquila at gmail.com
Sun May 6 09:46:29 UTC 2012
I've managed to hide a product by following Roel tips and Hector
Velarde's answer in StackOverflow (
@ Damien: I had a look to the
http://plone.org/products/cmf-qi-products-restrictions product, it was
made for Plone 2.5 and it doesn't work on Plone 4.1
@ Luca: I like your second approach and it is what
cmf-qi-products-restrictions is doing, which is basically a monkey patch
of QuickInstallerTool that check a list of "sites->products" but it
doesn't check any users' permission, it works only on UI.
Thank you all for your answers,
On 05/05/12 22:18, Roel Bruggink wrote:
> Hi Danilo,
> Take a look at
> Products.CMFQuickInstallerTool.interfaces.INonInstallable and
> Products.CMFPlone.interfaces.INonInstallable . For example
> implementations, take a look in
> Products.CMFPlone/Products/CMFPlone/factory.py and
> Products.CMFPlone/Products/CMFPlone/setuphandlers.py .
> - Roel
> On Sat, May 5, 2012 at 9:56 AM, Danilo Dellaquila
> <ddellaquila at gmail.com <mailto:ddellaquila at gmail.com>> wrote:
> Hi there,
> I'd like to know if there is any product that can help me to hide
> an Add-on from the list of available Add-ons in "Site setup". Let
> me explain why.
> I am in the situation of hosting multiple customers Plone sites
> running on the same Zope instance, each site is using a different
> Data.fs, and I have made a few packages for each customer
> customization, something like "Customer A Theme", Customer B
> Theme". Now, because they are on the same Zope instance, Customer
> A can see in its site Add-ons list that "Customer B Theme" is also
> available, which is what I'm trying to avoid.
> Hiding products from the Add-ons list would be also useful in some
> other cases, for example a more skilled customer can have
> PloneFormGen installed, while regular customers don't.
> I don't know if such a product exist and I'm willing to make one,
> if some of you can point me to the right direction.
> Thank you,
> Danilo Dellaquila
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> <mailto:Product-Developers at lists.plone.org>
> Roel Bruggink
> Four Digits BV
> Willemsplein 44, 6811 KD, Arnhem
> tel: +31(0)26 4422700 fax: +31(0)26 7600012
> KVK 091621370000 BTW 8161.22.234.B01
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Product-Developers