router/api-router.go:279。TaskPluginBind;服务端同时检查角色与 Casbin 授权。controller.GetTaskPluginOptions,controller/task_plugin.go:734。task_plugin:bind。PAT 还必须满足接口的角色、资源归属与权限要求。Authorization: Bearer ********************curl --location '/api/task_plugin_options' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": [
{
"property1": "string",
"property2": "string"
}
],
"property1": "string",
"property2": "string"
}