lablup / lablup/backend.ai

Gather the RBAC write operations under one concern

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

관계 쓰기와 역할 쓰기가 ops 아래 흩어져 있고 서비스도 ops 서비스에 섞여 있다. 권한 그래프를 쓰는 동작이 어디에 사는지가 정해져 있지 않다.

rbac 을 하나의 concern 으로 세운다. ops 프로바이더와 쓰기를 ops/v2/rbac 아래에 두고, 리포지토리와 서비스를 각각 rbac 아래에 둔다. 관계 쓰기와 역할 쓰기를 처음부터 한 쓰기 모듈에 담는다.

액션 여덟 개를 이 서비스에 붙인다. 관계 생성 삭제 복구 소거, 조직 가입 탈퇴, 역할 부여 회수다. 전부 relation 모양을 쓴다.

relation 액션 모양이 먼저 들어가야 한다. 이 이슈의 액션 베이스와 프로세서가 그것을 참조한다.

JIRA Issue: BA-7518

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing ops providers, write modules, repositories, services, action base, and processor, then trace how the permission graph is written. Use ops/v2/rbac as the target structure and verify that all eight listed actions share the relation shape and are grouped under the RBAC concern.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.