lablup / lablup/backend.ai

Update RBAC ORM models + alembic migration for new unified enum

Open
#9,023 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

Update RBAC ORM models to use the new unified enum:

- rbac_models/permission/permission.py (scope_type, entity_type columns)

- rbac_models/association_scopes_entities.py (scope_type, entity_type columns)

- rbac_models/migration/ (types.py, enums.py, utils.py, vfolder.py, domain.py, user.py, project.py)

Write a new alembic migration to update DB column types accordingly.

Depends on: BA-4522

JIRA Issue: BA-4523

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.