All methods to check user permissions should be migrated to FastAPI
All methods to check user permissions should be migrated to FastAPI