misc: limit indexing to anonymous cells (#15422)
This commit is contained in:
parent
e202e28792
commit
e0d5cc20da
|
@ -472,6 +472,10 @@ class CellBase(models.Model):
|
|||
context = Context({'synchronous': True})
|
||||
if not self.is_enabled():
|
||||
return ''
|
||||
if self.user_dependant:
|
||||
return ''
|
||||
if not self.page.is_visible(user=None):
|
||||
return ''
|
||||
if not self.is_visible(user=None):
|
||||
return ''
|
||||
if not self.is_relevant(context):
|
||||
|
|
Loading…
Reference in New Issue