remove not used class
This commit is contained in:
parent
d5f7a65819
commit
7ecf8a8b15
1 changed files with 0 additions and 7 deletions
|
@ -9,13 +9,6 @@ def projects(request):
|
|||
return {}
|
||||
|
||||
|
||||
class PermissionChecker:
|
||||
|
||||
def getattr(self, request, perm, obj=None):
|
||||
if request.user.is_authenticated():
|
||||
return request.user.has_perm(perm, obj)
|
||||
|
||||
|
||||
class PermWrapper:
|
||||
|
||||
def __init__(self, user, project):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue