Pull requests

#1 Open
Repository
jerzyk
Branch
default
Repository
diefenbach
Branch
default

fixes & features

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/jerzyk/django_permissions
Author
  1. jerzyk
Reviewers
Description

sorry, but I'm trying to get grip of the bitbucket :/

changes: - convert to south to have migrations - pep8 cleanup - add codename to the Role - similar to the Permission - add global_permission to the Role - it act as "master switch", this is useful if you want to override workflow or object permissions and additionally eliminates need for django's permission system - replace hardcoded SQL with django's ORM - generates almost same SQL - fix unicode casting in models unicode methods - template tag expect global "obj" object to be present in the context, adding second (optional) parameter seems optimal - allow permission assignment to the model class itself (class not instance), you can enter this now, but 'has_permissions' method ignored this

  • Learn about pull requests

Comments (0)