diff --git a/backend/iam/models.py b/backend/iam/models.py index 48e800fa8..15b3725b8 100644 --- a/backend/iam/models.py +++ b/backend/iam/models.py @@ -537,7 +537,11 @@ def is_editor(self) -> bool: @classmethod def get_editors(cls) -> List[Self]: - return [user for user in cls.objects.all() if user.is_editor] + return [ + user + for user in cls.objects.all() + if user.is_editor and not user.is_third_party + ] class Role(NameDescriptionMixin, FolderMixin):