diff --git a/CHANGES b/CHANGES index eca9220..fad2c89 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ Version 0.7.2 * Fix for when settings imports unicode_literals for some reason (Issue #67) * Fixed mess with app_id between pages (Issue #68, thanks @tsouvarev) * Added Farsi translation. Thanks, @amiraliakbari +* Improved the permission system, allowing for more advanced permission mechanisms. Thanks, @tangentlabs Version 0.7.1 ------------- diff --git a/README.rst b/README.rst index 858d3e5..9940061 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +61,7 @@ Rosetta can be configured via the following parameters, to be defined in your pr * ``ROSETTA_REQUIRES_AUTH``: Require authentication for all Rosetta views. Defaults to ``True``. * ``ROSETTA_POFILE_WRAP_WIDTH``: Sets the line-length of the edited PO file. Set this to ``0`` to mimic ``makemessage``'s ``--no-wrap`` option. Defaults to ``78``. * ``ROSETTA_STORAGE_CLASS``: See the note below on Storages. Defaults to ``rosetta.storage.CacheRosettaStorage`` -* ``ROSETTA_ACCESS_CONTROL_FUNCTION``: An alternative function that determines if a given user can access the translation views. +* ``ROSETTA_ACCESS_CONTROL_FUNCTION``: An alternative function that determines if a given user can access the translation views. This function receives a ``user`` as its argument, and returns a boolean specifying whether the passed user is allowed to use Rosetta or not. ******** Storages