Commit ff768f39e17d72009dcc9d28924af279053cd521
1 parent
0c7edb1f
prawo do eksportu leksemów przy tworzeniu ról
Showing
1 changed file
with
3 additions
and
0 deletions
accounts/management/commands/create_groups.py
... | ... | @@ -28,9 +28,11 @@ def create_groups(): |
28 | 28 | observers.permissions.add(get_permission('view_pattern')) |
29 | 29 | lexicographers.permissions.add(get_permission('view_lexeme')) |
30 | 30 | lexicographers.permissions.add(get_permission('change_lexeme')) |
31 | + lexicographers.permissions.add(get_permission('export_lexemes')) | |
31 | 32 | lexicographers.permissions.add(get_permission('view_pattern')) |
32 | 33 | superlexicographers.permissions.add(get_permission('view_lexeme')) |
33 | 34 | superlexicographers.permissions.add(get_permission('change_lexeme')) |
35 | + superlexicographers.permissions.add(get_permission('export_lexemes')) | |
34 | 36 | superlexicographers.permissions.add(get_permission('lexeme_priority')) |
35 | 37 | superlexicographers.permissions.add(get_permission('view_pattern')) |
36 | 38 | # może dokonywać zmian w Banku błędów |
... | ... | @@ -42,6 +44,7 @@ def create_groups(): |
42 | 44 | managers.permissions.add(get_permission('view_all_lexemes')) |
43 | 45 | managers.permissions.add(get_permission('view_pattern')) |
44 | 46 | managers.permissions.add(get_permission('add_user')) |
47 | + managers.permissions.add(get_permission('export_lexemes')) | |
45 | 48 | # zarządzanie rolami użytkowników: |
46 | 49 | managers.permissions.add(get_permission('change_group')) |
47 | 50 | admins.permissions.add(get_permission('add_user')) |
... | ... |