odoo/openerp/modules
Olivier Dony 15583a4813
[FIX] module: allow disabling 1-click install
As discussed on issue #15225, it should be possible for system administrators
to disable the 1-click installation system.
The plan is to disable the feature by default, but make it relatively easy
to turn on when it is explicitly desired.

1. At the moment we cannot guarantee that all Apps published on the Odoo Apps
   Store are safe. And it is a security risk to let end-users deploy Python
   code on their Odoo servers without requiring any review/deployment by a
   competent system administrator.
   We will work on improving the validation process of the Store, but this
   will require time, and won't probably be a 100% safe process in any case.
2. The one-click install feature is however really useful to help
   non-technical users install Apps, as long as the feature has been
   explicitly allowed by the system administrator. This is a common feature
   in other software suites as well. So we'd like to keep it as an opt-in
   feature.
3. Administrators of multi-tenant servers, cloud hosting services, etc.
   understandably expect to be able to turn off the feature for
   security/control reasons.
4. By turning off the feature by default, but still exposing it in the UI,
   we keep it *discoverable* for users. The error message should be
   helpful to direct users to their sysadmins.
5. By using the permissions of the download folder as a flag for turning
   off the feature, we avoid introducing an extra server parameter.
   The folder is still created (read-only) by default, for the sole purpose
   of making it easier to locate.

Fixes #15225
2017-01-27 13:00:42 +01:00
..
__init__.py new test execution engine 2014-02-09 01:40:05 +01:00
db.py [FIX] module: do not recreate categories when updating modules 2012-11-28 19:37:01 +01:00
graph.py [FIX] graph.py: correct Node() creation. 2014-11-19 15:14:14 +01:00
loading.py [FIX] base: only run postinstall tests for installed or updated modules 2016-04-04 14:32:20 +02:00
migration.py [FIX] migration: test if package is installed using its state. 2014-10-07 14:57:26 +02:00
module.py [FIX] module: allow disabling 1-click install 2017-01-27 13:00:42 +01:00
registry.py [FIX] registry: recompute `pure_function_fields` after every setup 2015-05-06 09:11:53 +02:00