GitHub user klarmina created a discussion: Data error Гость не может изменять 
данные диаграммы

Всем добрый день
У меня возникает ошибка, в дэшборде некоторые чарты выходят без проблем без 
ошибок, а у некоторых выходит data error Гость не может изменять диаграммы, 
суперсет внедрен в срм через embedded, когда гость просто заходит посмотреть 
выходит эта ошибка, то есть гость не изменяет, у кого такое было как можно 
исправить?

`superset.exceptions.SupersetSecurityException: Гость не может изменять данные 
диаграммы
2026-05-18 
04:20:24,172:WARNING:superset.views.error_handling:SupersetErrorException
Traceback (most recent call last):
  File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in 
dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/app/.venv/lib/python3.11/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/superset/views/base_api.py", line 120, in wraps
    duration, response = time_function(f, self, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/superset/utils/core.py", line 1410, in time_function
    response = func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/app/superset/utils/log.py", line 304, in wrapper
    value = f(*args, **kwargs)
            ^^^^^^^^^^^^^^^^^^
  File "/app/superset/charts/data/api.py", line 239, in data
    command.validate()
  File "/app/superset/commands/chart/data/get_data_command.py", line 73, in 
validate
    self._query_context.raise_for_access()
  File "/app/superset/common/query_context.py", line 139, in raise_for_access
    self._processor.raise_for_access()
  File "/app/superset/common/query_context_processor.py", line 1246, in 
raise_for_access
    security_manager.raise_for_access(query_context=self._query_context)
  File "/app/superset/security/manager.py", line 2406, in raise_for_access
    raise SupersetSecurityException(`


GitHub link: https://github.com/apache/superset/discussions/40204

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to