Skip to content

Language pack issue in Embedded dashboards #39882

@Rattlyy

Description

@Rattlyy

Bug description

Embedded dashboards won't load the /language_pack/{iso code} endpoint because it's authenticated and they aren't logged in.

Proposed solution:

@has_access

Remove the @has_access from the endpoint or fetch language pack after guest token initialization.

Screenshots/recordings

No response

Superset version

6.0.0

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions