Skip to content

Commit

Permalink
Disable permissions by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Sep 10, 2016
1 parent 538f134 commit cd20986
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+++++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion djangocms_installer/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit cd20986

Please sign in to comment.