TencentBlueKing / bk-iam-saas

BK-IAM is a centralized permission management service provided by The Tencent BlueKing; based on ABAC
Other
30 stars 40 forks source link

[SaaS] policy结构变更--数据迁移 #437

Closed zhu327 closed 2 years ago

zhu327 commented 2 years ago

在Policy结构变更的同时, 把存量数据迁移到新的结构, 涉及以下数据:

  1. saas policy表中的resources字段
  2. template auth表中的授权json字段
  3. role的auth scope中的json字段

修改方式:

实现Django command

zhu327 commented 2 years ago