mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-10 06:14:43 +00:00
The current access control function `can_translate` is not always sufficient. For instance, some projects require access to translation to be controlled using a permission rather than using groups. This change introduces a new setting `ROSETTA_ACCESS_CONTROL_FUNCTION` that allows an alternative predicate to be specified. The default is to use the current function so this change is backwards compatible. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| django.po.issue24gh.template | ||
| django.po.issue34gh.template | ||
| django.po.issue38gh.template | ||
| django.po.issue39gh.template | ||
| django.po.issue67.template | ||
| django.po.issue79.template | ||
| django.po.template | ||
| urls.py | ||
| views.py | ||