We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 062a545 + 74896ca commit e405fc8Copy full SHA for e405fc8
contentcuration/contentcuration/models.py
@@ -226,6 +226,9 @@ def can_edit(self, channel_id):
226
return Channel.filter_edit_queryset(Channel.objects.all(), self).filter(pk=channel_id).exists()
227
228
def check_space(self, size, checksum):
229
+ if self.is_admin:
230
+ return True
231
+
232
active_files = self.get_user_active_files()
233
if active_files.filter(checksum=checksum).exists():
234
return True
0 commit comments