Marco Bonetti
020903d4cc
proxy deeply through the backend. Fixes #271
2023-01-01 14:17:08 +01:00
Alexander van Ratingen
19442f8166
Allow passing a function itself to the setting ROSETTA_ACCESS_CONTROL_FUNCTION.
2019-10-12 00:22:59 +02:00
Marco Bonetti
0c1d9b60dd
Imports cleanup
2019-02-28 08:57:33 +01:00
Claude Paroz
f6ed983013
Removed old compatibility code for Django < 1.8
2018-08-23 20:25:09 +02:00
Marco Bonetti
0bd2f6e3dc
Tests passing on Django 2.0a1
2017-09-23 21:16:16 +02:00
Marco Bonetti
e117f1c135
Better handling for Custom User Models. Fixes Issue #131
2015-06-04 11:44:42 +02:00
Marco Bonetti
67f5803687
removed quite a few warnings on Django 1.8
2015-02-26 14:12:57 +01:00
Marco Bonetti
e963ca69f1
Added docs, tests and fine tuned ROSETTA_LANGUAGE_GROUPS setting
2014-05-02 12:04:41 +02:00
Morten Barklund
1efd2a8ba0
Added new config option to enable language-specific translator groups
2014-04-29 15:53:28 +02:00
Alexey Subbotin
7afdffb34a
just single quotes
2013-09-18 13:37:16 +02:00
dotsbb
f3a38f5877
ORM Query refactoring access.py
...
One query instead of two queries to database.
2013-09-18 13:12:34 +02:00
David Winterbottom
718f9430ad
Allow access control function to be replaced
...
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.
2013-04-16 11:42:44 +01:00