Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
f7c83162
Commit
f7c83162
authored
Mar 13, 2019
by
Okhin
Browse files
Donner aujedis l'autorisation de créer des comptes
parent
3eacba31
Pipeline
#2496
passed with stages
in 4 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/core/management/commands/init_groups.py
View file @
f7c83162
...
...
@@ -5,7 +5,7 @@ groups = ["droid", "jedi", "padawan"]
permissions
=
{
"droid"
:
[],
"jedi"
:
[
"can_change_status"
,
"can_change_priority"
,
"can_vote"
,
"can_edit"
,
"can_edit_users"
,
"can_delete_users"
"can_change_status"
,
"can_change_priority"
,
"can_vote"
,
"can_edit"
,
"can_edit_users"
,
"can_delete_users"
,
"can_create_user"
,
],
"padawan"
:
[
"can_vote"
,
"add_article"
]
}
...
...
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