Permalink
Switch branches/tags
Nothing to show
Commits on Nov 2, 2011
  1. Fixed a typo.

    committed Nov 2, 2011
Commits on Oct 26, 2011
Commits on Oct 25, 2011
Commits on Oct 21, 2011
  1. Merge branch 'issue-15'.

    See #15.
    committed Oct 21, 2011
  2. Merge branch 'issue-15'

    committed Oct 21, 2011
  3. Improved i18n support.

    committed Oct 21, 2011
  4. Minor fixes.

    committed Oct 21, 2011
  5. Merge branch 'issue-14'

    committed Oct 21, 2011
  6. Closes #14.

    committed Oct 21, 2011
  7. Closes #16.

    committed Oct 21, 2011
  8. Closes ticket #13.

    committed Oct 21, 2011
Commits on Oct 20, 2011
  1. Fleshed-out a bunch of tests.

    And verified that they all pass, of course !
    committed Oct 20, 2011
  2. Fixes ticket #2.

    Also added a test case for the feature + misc minor cleanup.
    committed Oct 20, 2011
Commits on Oct 7, 2011
Commits on Sep 17, 2011
  1. Fixed a little bug.

    committed Sep 17, 2011
  2. Updated application's test suite.

    committed Sep 17, 2011
Commits on Sep 15, 2011
  1. Fixed a bug within ``ParamRoleBackend.has_perm()``.

    Before executing the permission-check, make sure that the relevant checker method
    is implemented on the target model class !
    committed Sep 15, 2011
  2. Improved the test environment.

    * added ``ParamRoleBackend`` to the set of enabled auth backends;
    * added unicode representations to test models;
    * added suitable print statements to permission-checker methods of test models (useful for debugging purposes).
    committed Sep 15, 2011
  3. Fixed two typos.

    * ``User.is_anonymous`` is a method, not a property ! (I wonder why of this difference with  ``User.is_superuser``, ``User.is_active``, etc.)
    * string method is ``.lower()``, not ``.lowercase()`` !
    committed Sep 15, 2011
Commits on Sep 14, 2011
  1. Implemented some unit tests for the ``ParamRoleBackend`` class.

    Also declared a few dummy models in order to setup a self-contained testing environment.
    committed Sep 14, 2011
  2. Minor refactoring.

    * Renamed ``@permission_required()`` decorator to ``@object_permission_required()``
      in order to avoid confusion with Django's built-in one;
    * Tweaked decorator's docstring.
    committed Sep 14, 2011
Commits on Sep 13, 2011
  1. First steps towards fixing #9.

    committed Sep 13, 2011
  2. Just a little refactoring to improve readability.

    Slightly changed the signature of permission-checking methods:
    introduced a more descriptive ``context`` dictionary argument in place
    of a generic ``*kwargs`` one.
    committed Sep 13, 2011
  3. Minor fixes.

    * passing a ill-typed `principal` argument should raise ``TypeError``s
    instead of ``AttributeError``s
    * improved some docstrings
    committed Sep 13, 2011
  4. Improved the unit-test suite for the application.

    * implemented some tests for the
    ``utils.get_ctype_from_model_label()`` function
    * tweaked some docstrings
    * added (as stubs) missing test cases for the ``utils`` module 
    * fixed some typos
    committed Sep 13, 2011