公告板
版本库
filestore
活动
搜索
登录
~cuijin
/
WMS
派生自
aps/WMS
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
新增/修改产品-对动态属性的支持Attributes->AttributeValues
lishihai
2024-06-17
8a3d1498529b90781113821f8d97a7afee5ed7b3
[~cuijin/WMS.git]
/
conf
/
opatest.rego
1
2
3
4
5
6
7
8
9
10
11
12
package opa
default allow = false
allow {
# startswith(input.path, "/api")#path以/api开头则允许
input.checkNum > 0 #大于0验证,否则不验证
}
operation {
input.checkNum > 0 #大于0验证,否则不验证
}