POST /admin/abac-policies

创建新的ABAC条件策略

RBAC - 角色 `bearerAuth` application/json

请求体

Schema: service-identity/internal/handler/dto.CreateABACPolicyRequest

字段类型必填示例约束描述
condition string 是
name string 是
description string 否
effect string 否
priority integer 否

响应

引用的 Schema

service-core/base/dto.DataResponse-service-identity/internal/handler/dto/ABACPolicyResponse

字段类型必填示例约束描述
code integer 否
data service-identity/internal/handler/dto.ABACPolicyResponse 否
message string 否
timestamp string 否

service-identity/internal/handler/dto.ABACPolicyResponse

字段类型必填示例约束描述
condition string 否
created_at string 否
description string 否
effect string 否
enabled boolean 否
id string 否
name string 否
priority integer 否
tenant_id string 否
updated_at string 否