Adds Teams Access List and tests

This commit is contained in:
Alex Corey
2020-05-12 11:37:49 -04:00
parent bb0abf37e0
commit 09e72bc0ae
8 changed files with 379 additions and 2 deletions

View File

@@ -2306,6 +2306,7 @@ class RoleSerializer(BaseSerializer):
content_model = obj.content_type.model_class()
ret['summary_fields']['resource_type'] = get_type_for_model(content_model)
ret['summary_fields']['resource_type_display_name'] = content_model._meta.verbose_name.title()
ret['summary_fields']['resource_id'] = obj.object_id
return ret