how apply authentication & authorization put , post methods in tastypie? know can define authentication , authorization in meta inner class on resource how let these 2 methods pass thru authentication , authorization layer. interested in sessionauthentication , djangoauthrization btw.
you can create class based on djangoauthrization (add meta then) , override 2 functions:
def read_list(self, object_list, bundle): return object_list def read_detail(self, object_list, bundle): return true
Comments
Post a Comment