diff --git a/combo/data/models.py b/combo/data/models.py index 66d297f6..81c8aa9a 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -1167,6 +1167,13 @@ class JsonCellBase(CellBase): def is_visible(self, user=None): return bool(self.url) and super(JsonCellBase, self).is_visible(user=user) + def is_user_dependant(self): + urls = [self.url] + [x['url'] for x in self.additional_data or []] + for url in urls: + if url and ('user_nameid' in url or 'user_email' in url): + return True + return False + def get_cell_parameters_context(self): return {}