Commit 1fe176ef authored by Michal Čihař's avatar Michal Čihař

Add permission to delete comments to managers

Issue #601
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b2a10622
......@@ -167,6 +167,8 @@ Can accept suggestion [Users, Managers]
Can accept suggestion (might be disabled with :ref:`voting`).
Can delete suggestion [Users, Managers]
Can delete suggestion (might be disabled with :ref:`voting`).
Can delete comment [Managers]
Can delete comment.
Can vote for suggestion [Users, Managers]
Can vote for suggestion (see :ref:`voting`).
Can override suggestion state [Managers]
......
......@@ -661,6 +661,7 @@ def create_groups(update):
Permission.objects.get(codename='accept_suggestion'),
Permission.objects.get(codename='vote_suggestion'),
Permission.objects.get(codename='override_suggestion'),
Permission.objects.get(codename='delete_comment'),
Permission.objects.get(codename='delete_suggestion'),
Permission.objects.get(codename='ignore_check'),
Permission.objects.get(codename='upload_dictionary'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment