backend.ai icon indicating copy to clipboard operation
backend.ai copied to clipboard

feat: Add association table between `ContainerRegistries` with `Users`

Open jopemachine opened this issue 1 year ago • 1 comments

Checklist: (if applicable)

  • [x] Milestone metadata specifying the target backport version
  • [x] Mention to the original issue
  • [x] Installer updates including:
    • Fixtures for db schema changes

Will fix #1908, #1910

Changes

  • Add association table between ContainerRegistries with Users
  • Add graphql APIs for the association table
  • Extend image graphql API to support querying available images available from user's own container registry

jopemachine avatar Mar 16 '24 21:03 jopemachine

This PR has not been updated for a long time and includes changes from the old container registry migration PR. I will update it soon.

-> Merge with the main branch completed.

jopemachine avatar Oct 21 '24 02:10 jopemachine

According to the priority, I will first create the m2m table between the ContainerRegistries and Group (project) tables in another PR.

jopemachine avatar Nov 05 '24 01:11 jopemachine

According to the priority, I will first create the m2m table between the ContainerRegistries and Group (project) tables in another PR.

If we can replace m2m table itself with RBAC, we will skip this PR.

jopemachine avatar Nov 05 '24 01:11 jopemachine

According to the priority, I will first create the m2m table between the ContainerRegistries and Group (project) tables in another PR.

If we can replace m2m table itself with RBAC, we will skip this PR.

After reviewing, we concluded that even with RBAC applied, we should still create an m2m table.

jopemachine avatar Nov 11 '24 02:11 jopemachine