yumoqing 9eccd08ffd feat: pipeline-app独立产线后端服务
3个业务模块:
- pipeline_core: 产线定义(pipelines/steps/versions)
- pipeline_ops: 运营(定价/供应量/使用记录)
- pipeline_dist: 分销(分销商/独立定价/API密钥)

- ahserver独立部署(端口9090)
- 独立数据库pipeline
- 80个文件, 符合module/db-table/crud三规范
2026-06-11 14:49:02 +08:00

23 lines
652 B
Python

"""Register RBAC paths for pipeline_dist module."""
RBAC_PATHS = [
'/api/distributors_list.dspy',
'/api/distributors_get.dspy',
'/api/distributors_save.dspy',
'/api/distributors_delete.dspy',
'/api/distributor_pipeline_list.dspy',
'/api/distributor_pipeline_get.dspy',
'/api/distributor_pipeline_save.dspy',
'/api/distributor_pipeline_delete.dspy',
'/api/distributor_generate_key.dspy',
]
def load_paths(register):
"""Register all RBAC paths for this module."""
for path in RBAC_PATHS:
register(f'pipeline_dist{path}', {
'module': 'pipeline_dist',
'path': path,
})