diff --git a/HISTORY.rst b/HISTORY.rst index 610f198..1ce2e5f 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,6 +20,7 @@ History * Add support for conda package manager * Admin user is now created in batch mode by default. Use --no-user option to skip user creation * In batch mode directory is not removed in case of cleanup unless --delete-project-dir is given +* Disable permission by default 0.8.12 (2016-08-27) +++++++++++++++++++ diff --git a/djangocms_installer/config/__init__.py b/djangocms_installer/config/__init__.py index 5df63a3..00087e2 100644 --- a/djangocms_installer/config/__init__.py +++ b/djangocms_installer/config/__init__.py @@ -66,7 +66,7 @@ def parse(args): '(only for django CMS 3.2 and 3.3)') parser.add_argument('--permissions', dest='permissions', action='store', choices=('yes', 'no'), - default='yes', help='Activate CMS permission management') + default='no', help='Activate CMS permission management') parser.add_argument('--pip-options', help='pass custom pip options', default='') parser.add_argument('--languages', '-l', dest='languages', action='append', help='Languages to enable. Option can be provided multiple times, or as a ' diff --git a/docs/reference.rst b/docs/reference.rst index 394117b..820e699 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -33,7 +33,7 @@ The following arguments can be overridden in :ref:`wizard_mode` * ``--reversion``, ``-e``: Install and configure reversion support, choices: ``yes|no``, default: ``yes``; this will ignored for RC/develop/3.4 versions of django CMS as support has been dropped upstream; -* ``--permissions``: Activate CMS permission management; choices: ``yes|no``, default: ``yes`` +* ``--permissions``: Activate CMS permission management; choices: ``yes|no``, default: ``no`` * ``--languages``, ``-l``: Languages available for the project. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here; diff --git a/tests/config.py b/tests/config.py index bc05d3a..811b2bb 100644 --- a/tests/config.py +++ b/tests/config.py @@ -30,7 +30,7 @@ def test_default_config(self): self.assertEqual(conf_data.django_version, 1.8) self.assertEqual(conf_data.i18n, 'yes') self.assertEqual(conf_data.reversion, 'yes') - self.assertEqual(conf_data.permissions, 'yes') + self.assertEqual(conf_data.permissions, 'no') self.assertEqual(conf_data.use_timezone, 'yes') self.assertEqual(conf_data.db, 'postgres://user:pwd@host/dbname')