Skip to content

Using SQL API the extendContext function does not get the securityContext created in checkSqlAuth #7415

@giacomochiarella

Description

@giacomochiarella

Describe the bug
Hi everyone! I’m using the same cube.js file but I’m getting different results when I access to the securityContext in extendContext function:

  • if I use the rest api I get a big object with securityContext attribute
  • if I login through dbeaver I get only { id: ‘d8ce5857-500d-4c10-a9fb-40408cc9986c-span-1’, meta: null }

in checkSqlAuth I’m returning a securityContext like:
return {
password: password,
securityContext: securityContext
};

To Reproduce
just login through SQL API and print the context in extendContext function

Version:
0.34.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    api:sqlIssues related to SQL APIbackend:serverIssues relating to Cube Core's Server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions