Skip to content
Snippets Groups Projects

Resolve "Feature proposal: Let reviewers manage roles of other users."

Merged Thilo Wischmeyer requested to merge 267-role-management into master
Files
7
+ 3
1
@@ -21,6 +21,7 @@ class CorrectorSerializer(DynamicFieldsModelSerializer):
write_only=True,
required=False
)
role = serializers.CharField(read_only=True)
def get_feedback_created(self, t):
''' It is required that this field was previously annotated '''
@@ -57,4 +58,5 @@ class CorrectorSerializer(DynamicFieldsModelSerializer):
'is_active',
'username',
'feedback_created',
'feedback_validated')
'feedback_validated',
'role')
Loading