Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
1fe176ef
Commit
1fe176ef
authored
Jan 12, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add permission to delete comments to managers
Issue #601 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
b2a10622
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
docs/admin/auth.rst
docs/admin/auth.rst
+2
-0
weblate/accounts/models.py
weblate/accounts/models.py
+1
-0
No files found.
docs/admin/auth.rst
View file @
1fe176ef
...
...
@@ -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]
...
...
weblate/accounts/models.py
View file @
1fe176ef
...
...
@@ -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'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment