WFP-Dubai/ETS — Issue #146: object permissions
Author: Arvi3d
Created: 2011-10-20 06:27:14+00:00
State: open

implement object permissions.

consider:
https://github.com/chrisglass/django-rulez,
http://stackoverflow.com/questions/3674463/adding-per-object-permissions-to-django-admin

If user is a "superuser", then he has all rights.
else if user is an officer of compas station, he has rights on objects related to this station
else if user has a "Person" object, then he has rights on objects related to his warehouse(s)