Skip to content

Releases: 20c/django-grainy

1.9.0

19 Nov 15:43
Compare
Choose a tag to compare

Added

  • python3.9 support
  • django3.1 support
  • added rest.ModelViewSetPermission django-rest-framework permission class
  • added grainy_namespace property to decorated models
  • added util.check_permissions helper function
  • added util.get_permissions helper function
  • added GRAINY_ANONYMOUS_GROUP setting

Fixed

  • fix django-admin user and group admin view unregister
  • fix instance namespacing on decorated models that have a grainy parent defined

Changed

  • grainy handler classes moved to handlers.py to prevent circular depdendency issue

1.8.0

06 Oct 10:18
Compare
Choose a tag to compare

Added

  • remote grainy permissions
  • field level permission checks when POST/PUT/PATCHing to REST api (#14)
  • python3.8 support

Changed

  • fix #36: Grainy decorators should allow setting of Permissions class to use for permission checks

Removed

  • python2.7 support
  • python3.4 support
  • python3.5 support
  • django1.11 support

1.7.0

23 Apr 16:06
Compare
Choose a tag to compare

Added

  • tests for django 2.1
  • fix #33: easy namespace inheritance through related models
  • fix #31: add delete_permission function to grainy manager
  • fix #35: Custom permission holder implementation

Fixed

  • admin inlines: sort by namespace alphabetically (#24)

Changed

  • move from facsimile to Ctl (#32)

1.6.2

22 Jun 07:31
Compare
Choose a tag to compare
version 1.6.2