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
1ede5833
Commit
1ede5833
authored
Mar 30, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add change privilege to default setup
parent
05d8f51e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
accounts/management/commands/setupgroups.py
accounts/management/commands/setupgroups.py
+2
-0
docs/admin.rst
docs/admin.rst
+1
-0
No files found.
accounts/management/commands/setupgroups.py
View file @
1ede5833
...
...
@@ -24,6 +24,7 @@ class Command(BaseCommand):
Permission
.
objects
.
get
(
codename
=
'ignore_check'
),
Permission
.
objects
.
get
(
codename
=
'upload_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'add_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'change_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'delete_dictionary'
),
)
group
,
created
=
Group
.
objects
.
get_or_create
(
name
=
'Managers'
)
...
...
@@ -40,6 +41,7 @@ class Command(BaseCommand):
Permission
.
objects
.
get
(
codename
=
'ignore_check'
),
Permission
.
objects
.
get
(
codename
=
'upload_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'add_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'change_dictionary'
),
Permission
.
objects
.
get
(
codename
=
'delete_dictionary'
),
)
if
options
[
'move'
]:
...
...
docs/admin.rst
View file @
1ede5833
...
...
@@ -113,6 +113,7 @@ Weblate uses privileges system based on Django. It defines following extra privi
* Can accept suggestion [Users, Managers]
* Can import dictionary [Users, Managers]
* Can add dictionary [Users, Managers]
* Can change dictionary [Users, Managers]
* Can delete dictionary [Users, Managers]
The default setup (after you run :program:`./manage.py setupgroups`) consists
...
...
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