Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Django Improved Permissions 0.2.1

Latest
Compare
Choose a tag to compare
@gabrielbiasi gabrielbiasi released this 09 May 23:29
· 4 commits to master since this release

About

Note: This version is a bugfix version of the [0.1.4, ..., 0.2.0] releases.

Installing:

  1. Run pip install django-improved-permissions==0.2.1
    or
  2. Download the zip file;
  3. Run pip install 0.2.1.zip

Major Changes

  • Persistent Mode
    • Keeps checking the permission in inherit mode even if find a False.

Minor Changes

  • New optional kwarg in the has_permission shortcut: persistent
    • True: Persistent mode enabled
    • False: Persistent mode disabled
    • None: Fallback in the dict settings (default)
  • New optional kwarg in the has_permission shortcut: any_object
    • True: Check if user has the following permission to ANY object
    • False: Check if user has the following permission ONLY to that object (default)