pass object to super class to get the right permission for the object
Merge pull request #23 from dheeru0198/master

Pass object to super class `has_perm` function to get the right permission for the object