Created
January 24, 2017 16:14
-
-
Save tristan-k/b348996f4bfb2844e8a449b6e5def9dd to your computer and use it in GitHub Desktop.
./manage.py update_permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./manage.py update_permissions | |
/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py:345: RemovedInDjango110Warning: OptionParser usage for Django management commands is deprecated, use ArgumentParser instead | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
System check identified some issues: | |
WARNINGS: | |
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS, TEMPLATE_DEBUG. | |
core.BookRole.members: (fields.W340) null has no effect on ManyToManyField. | |
core.Role.permissions: (fields.W340) null has no effect on ManyToManyField. | |
messaging.Endpoint.config: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField. | |
HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. | |
Updating permissions for booktype.apps.core | |
- saving core.manage_roles permission | |
- saving core.manage_permissions permission | |
Updating permissions for booktype.apps.portal | |
- saving portal.can_view_books_list permission | |
- saving portal.can_view_group_info permission | |
- saving portal.can_view_groups_list permission | |
- saving portal.can_view_recent_activity permission | |
- saving portal.can_view_user_list permission | |
Updating permissions for booktype.apps.edit | |
- saving edit.create_chapter permission | |
- saving edit.rename_chapter permission | |
- saving edit.delete_chapter permission | |
- saving edit.lock_chapter permission | |
- saving edit.edit_locked_chapter permission | |
- saving edit.create_section permission | |
- saving edit.rename_section permission | |
- saving edit.delete_section permission | |
- saving edit.manage_chapters_hold permission | |
- saving edit.reorder_toc permission | |
- saving edit.upload_attachment permission | |
- saving edit.remove_attachment permission | |
- saving edit.upload_cover permission | |
- saving edit.edit_cover permission | |
- saving edit.delete_cover permission | |
- saving edit.manage_status permission | |
- saving edit.change_chapter_status permission | |
- saving edit.edit_book permission | |
- saving edit.delete_book permission | |
- saving edit.history_revert permission | |
- saving edit.note_edit permission | |
- saving edit.track_changes permission | |
- saving edit.track_changes_approve permission | |
- saving edit.track_changes_enable permission | |
- saving edit.manage_language permission | |
- saving edit.manage_license permission | |
- saving edit.manage_metadata permission | |
- saving edit.manage_book_settings permission | |
- saving edit.add_comment permission | |
- saving edit.resolve_comment permission | |
- saving edit.delete_comment permission | |
- saving edit.modify_section_settings permission | |
Updating permissions for booktype.apps.reader | |
- saving reader.can_view_full_page permission | |
- saving reader.can_view_hidden_full_page permission | |
- saving reader.can_view_draft permission | |
- saving reader.can_view_hidden_draft permission | |
- saving reader.can_view_book_info permission | |
- saving reader.can_view_hidden_book_info permission | |
Updating permissions for booktype.apps.account | |
- saving account.can_upload_book permission | |
- saving account.can_view_user_info permission | |
Updating permissions for booktype.apps.export | |
- saving export.export_book permission | |
- saving export.export_settings permission | |
- saving export.export_view permission | |
- saving export.export_delete permission | |
- saving export.export_comment permission | |
- saving export.publish_book permission |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment