<s> from . . utils . access_permissions import BaseAccessPermissions <EOL> class MotionAccessPermissions ( BaseAccessPermissions ) : <EOL> """<STR_LIT>""" <EOL> def can_retrieve ( self , user ) : <EOL> """<STR_LIT>""" <EOL> return user . has_perm ( '<STR_LIT>' ) <EOL> def get_serializer_class ( self , user = None ) : <EOL> """<STR_LIT>""" <EOL> from . serializers import MotionSerializer <EOL> return MotionSerializer <EOL> class CategoryAccessPermissions ( BaseAccessPermissions ) : <EOL> """<STR_LIT>""" <EOL> def can_retrieve ( self , user ) : <EOL> """<STR_LIT>""" <EOL> return user . has_perm ( '<STR_LIT>' ) <EOL> def get_serializer_class ( self , user = None ) : <EOL> """<STR_LIT>""" <EOL> from . serializers import CategorySerializer <EOL> return CategorySerializer <EOL> class WorkflowAccessPermissions ( BaseAccessPermissions ) : <EOL> """<STR_LIT>""" <EOL> def can_retrieve ( self , user ) : <EOL> """<STR_LIT>""" <EOL> return user . has_perm ( '<STR_LIT>' ) <EOL> def get_serializer_class ( self , user = None ) : <EOL> """<STR_LIT>""" <EOL> from . serializers import WorkflowSerializer <EOL> return WorkflowSerializer </s>
