mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
Simplified "has permission" logic and fixed a major flow in "{resoruce}/grid" not applying correct data to _actions
Function has_resource_permission() need to live in depends.py as it cause circular dependencies if in common.py
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import importlib
|
||||
from copy import deepcopy
|
||||
|
||||
from fastapi import HTTPException
|
||||
from passlib.context import CryptContext
|
||||
from tortoise import Tortoise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user