Hi,
I've managed to hide a product by following Roel tips and Hector
Velarde's answer in StackOverflow (
http://stackoverflow.com/questions/10460003/plone-hiding-add-ons-from-site-setup).
@ 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,
Danilo
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
<[email protected] <mailto:[email protected]>> 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
[email protected]
<mailto:[email protected]>
https://lists.plone.org/mailman/listinfo/plone-product-developers
--
Roel Bruggink
http://www.fourdigits.nl/mensen/roel-bruggink
Four Digits BV
http://www.fourdigits.nl
Willemsplein 44, 6811 KD, Arnhem
tel: +31(0)26 4422700 fax: +31(0)26 7600012
KVK 091621370000 BTW 8161.22.234.B01
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers