lablup / lablup/backend.ai

Role presets are the only author of SYSTEM roles

Open
#14,252 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

SYSTEM 역할을 사람 손이 닿지 않는 파생물로 만들고, 역할 프리셋 하나만을 그 저자로 둔다.

배경

- 프리셋에서 나온 역할은 프리셋으로 되돌아가는 연결이 없다. 남는 것은 렌더된 이름뿐이라 무엇이 빠졌는지, 무엇이 낡았는지 물어볼 방법이 없다.

- 그래서 네 가지가 조용히 어긋난다. 프리셋보다 먼저 만들어진 스코프는 그 역할을 영원히 받지 못하고, 프리셋을 고쳐도 이미 나온 역할은 그대로이며, 프리셋을 지워도 파생 역할은 남고, 관리자가 SYSTEM 역할을 직접 고칠 수 있어 재싱크가 사람의 변경을 덮는다.

경계

- 역할의 정의는 프리셋 소유다. 그 역할을 누가 갖는가는 관리자가 정한 사용자 데이터다.

- 재싱크는 정의만 건드리고 부여는 손대지 않는다. 부여가 역할 행을 참조하므로 지우고 다시 만드는 방식이 될 수 없고 제자리 갱신이어야 한다.

- CUSTOM 역할은 대상이 아니다.

순서: 기반-1 → 기반-2 → 동기화-1 · 동기화-2 · 동기화-3 병렬.

분해: hejo drafts/system-role-preset-ownership/issues.md

JIRA Issue: BA-7680

Contributor guide

Open the contributing guide

Research direction

Start by reading hejo drafts/system-role-preset-ownership/issues.md and use its 基盤 and 同期化 breakdown to map the work. The change is done when SYSTEM role definitions are owned only by presets, resync updates definitions in place without changing assignments, preset changes and deletion are reflected, and CUSTOM roles remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.