From b008bb134ba2466f8475bb434dcfa1be5c0520d7 Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Thu, 28 Nov 2013 10:35:58 +0100 Subject: [PATCH] TODO authorization --- dusken/authorization.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dusken/authorization.py b/dusken/authorization.py index c044fd5..208eff8 100644 --- a/dusken/authorization.py +++ b/dusken/authorization.py @@ -1,7 +1,10 @@ from tastypie.authorization import DjangoAuthorization from tastypie.exceptions import Unauthorized -# TODO add django-guardian for object level/row level permissions, then +# TODO add django-guardian for object level/row level permissions. +# Ref: https://gist.github.com/7wonders/6557760 +# Usage example: User in group x is admin of group y +# Literal usage example: Runar in group KAK-styret is admin of group KAK. """ Create