kamu-data / kamu-cli

Next-generation decentralized data lakehouse and a multi-party stream processing network
https://kamu.dev
Other
293 stars 12 forks source link

Embedded UI shows datasets under `kamu` user #769

Open sergiimk opened 1 month ago

sergiimk commented 1 month ago

Describe the bug

When using kamu ui command for a local repo, the UI displays kamu account as the owner of all datasets, while it should've been extracting a local user name.

Steps To Reproduce

  1. Create a workspace and add one dataset
  2. Open kamu ui
  3. Observe that dataset is under kamu/... account

Current Behavior

kamu account is used as the default local account, which creates an incorrect perception that local data is somehow owned / stored in kamu.

Expected Behavior

local user name is extracted from the operating system and used instead

kamu system info

kamu 0.194.0

Logs

No response

Anything else?

This appears to be a recent regression

zaychenko-sergei commented 1 month ago

@sergiimk We always use kamu user in single-tenant workspaces. The local user name is only used in multi-tentant workspaces.