fastapi-practices / fastapi_best_architecture

基于 FastAPI 构建的前后端分离 RBAC 权限控制系统,采用独特的伪三层架构模型设计,内置 fastapi-admin 基本实现,并作为模板库免费开源;FastAPI based on the construction of the front and back end separation of RBAC privilege control system, using a unique pseudo three-tier architecture model design, built-in fastapi-admin basic implementation, and as a template library free open source.

Home Page:https://fastapi-practices.github.io/fastapi_best_architecture_docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logic before deletion

downdawn opened this issue · comments

commented

When deleting roles in batches, it is necessary to determine whether there is associated data

Need to judge whether there is data before deleting?

Not sure if this is required for roles. By default rules, when a role is deleted, the associated data is not deleted, but only their relationship is unlinked