Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add simple user-project relation? #370

Open
azat opened this issue Apr 25, 2024 · 1 comment
Open

Is it possible to add simple user-project relation? #370

azat opened this issue Apr 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@azat
Copy link

azat commented Apr 25, 2024

AFAICS there is such support in cloud - organizations, but not in an open-source version.
Simple mapping via YAML will work, i.e.:

auth:
  users:
    - name: Anonymous
      email: uptrace@localhost
      password: uptrace
      notify_by_email: true
      projects: [ids_or_names]

Or maybe you will accept a patch for this?

@vmihailenco
Copy link
Member

vmihailenco commented Apr 27, 2024

Or maybe you will accept a patch for this?

Yes, the patch would be welcome. I've tried to do this in the past, but unfortunately ClickHouse analyzer was not smart enough to use projections. Maybe it is smart enough now.

In the cloud we use materialized views and rewrite queries in the app. It is complex and I don't want to bring that complexity here.

@vmihailenco vmihailenco added the enhancement New feature or request label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants