87 |
|
|
88 |
apache::vhost_redirect_ssl { "transifex.$domain": } |
apache::vhost_redirect_ssl { "transifex.$domain": } |
89 |
|
|
90 |
|
# the group are mapped from ldap, since AUTH_LDAP_FIND_GROUP_PERMS is set to yes |
91 |
|
# but the group need to exist in django first |
92 |
django_application::create_group { ["mga-i18n","mga-i18n-committers"]: |
django_application::create_group { ["mga-i18n","mga-i18n-committers"]: |
93 |
module => "transifex", |
module => "transifex", |
94 |
path => "/usr/share/transifex:/usr/share", |
path => "/usr/share/transifex:/usr/share", |
95 |
} |
} |
96 |
|
|
97 |
django_application::add_permission_to_group { ['add_project','change_project','delete_project']: |
# allow the people in mga-i18n-committers to : |
98 |
|
# - manage projects |
99 |
|
# - manage ressources |
100 |
|
django_application::add_permission_to_group { ['add_project', |
101 |
|
'change_project', |
102 |
|
'delete_project', |
103 |
|
'add_resource', |
104 |
|
'change_resource', |
105 |
|
'delete_resource', |
106 |
|
]: |
107 |
group => 'mga-i18n-committers', |
group => 'mga-i18n-committers', |
108 |
module => "transifex", |
module => "transifex", |
109 |
path => "/usr/share/transifex:/usr/share", |
path => "/usr/share/transifex:/usr/share", |