lablup / lablup/backend.ai

Unified sharing (BEP-1077 Phase 2)

Open
#14,233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

BEP-1077 (proposals/BEP-1077-project-scoped-ownership.md) Phase 2. 공유·초대·회수가 entity_shares 한 표와 share ops 한 경로로 모이고, vfolder 의 별도 초대·권한 경로가 신규 쓰기에서 사라진 상태를 만든다. 대상 엔티티가 늘어도 processor 층 배선만 추가하면 되는 구조.

완료 기준: vfolder 공유·초대의 신규 쓰기에 원시 insert/update 가 없다. 레거시 마운트 권한 4단계가 share cap 비트로 손실 없이 대응된다. 공유 processor 가 대상 타입을 인자로 받아 BEP 5.5 의 대상(배포·모델카드·이미지, 세션은 관측만)에 배선된다. 레거시 표는 백필(BA-7571)까지 이중쓰기·읽기 호환 유지.

순서: BA-7568 개명 → cap 대체 → 공유 processor 일반화 → BA-7491 vfolder 초대 대체 → 대상 배선. 읽기 전환(query_accessible_vfolders 대체)은 Phase 7 에서 합집합 구현으로 따로 간다.

이슈 본문은 대상·완료 기준·제약·열린 결정만 적는다. 구현 방향은 착수 시점의 main 을 보고 정한다. 파일 위치는 2026-09-05 main 기준 참고. 분해: hejo drafts/bep1077-ownership/issues-v2.md

JIRA Issue: BA-7664

Contributor guide

Open the contributing guide

Research direction

Start with proposals/BEP-1077-project-scoped-ownership.md and hejo drafts/bep1077-ownership/issues-v2.md, then inspect the current main implementation in the stated BA-7568 → cap replacement → processor generalization → vfolder invitation replacement → target wiring sequence. Done means new vfolder writes use the unified share path, legacy permissions map losslessly to share-cap bits, target types are wired as specified, and legacy compatibility remains through BA-7571.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.