lablup / lablup/backend.ai

Clean up RBAC legacy code

Open
#9,168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

Remove deprecated RBAC tables, models, and business logic that have been superseded by the BEP-1048 entity relationship model.

Includes:

- BA-4360: Remove object permissions table and business logic

- BA-4361: Remove role_manager and update db/repository functions for new RBAC schema

Future candidates (as RBACElementType migration progresses):

- Remove ScopeType enum (replaced by RBACElementType)

- Remove RBAC subset of EntityType (replaced by RBACElementType)

- Remove ScopeId/ObjectId in RBAC contexts (replaced by RBACElementRef)

Reference:

- BEP-1048: RBAC Entity Relationship Model

- BA-4179: Implement RBAC Entity Relationship Model

- BA-4521: Unify RBAC type system

JIRA Issue: BA-4622

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.