10 lines
211 B
Python
10 lines
211 B
Python
|
class AccessPermissions:
|
||
|
def get_serializer_class(self, user):
|
||
|
return None
|
||
|
|
||
|
def can_retrieve(self, user):
|
||
|
"""
|
||
|
TODO
|
||
|
"""
|
||
|
return user.has_perm('assignments.can_see')
|