Skip to content

FE doesn't send impersonations in API request when changing permissions in a specific way #38943

Open
@noahmoss

Description

Describe the bug

Odd edge case in the permissions admin page.

Changing perms for a DB from Unrestricted data access + No native query editing to Impersonated data access and Yes native query editing results in the new impersonation policy not being sent in the API request.

https://www.loom.com/share/f21d5e1383b647bf98f52ff6ce335165?sid=1857410b-5b34-4b79-b76c-aad5ebc2052b

To Reproduce

See loom

Expected behavior

No response

Logs

No response

Information about your Metabase installation

Current master

Severity

P3

Additional context

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions