fix(项目设置): 创建缺陷模板不校验模板字段权限
--bug=1027187 --user=王旭 【项目设置】项目成员有缺陷模版权限,创建缺陷模版报403 https://www.tapd.cn/55049933/s/1385804
This commit is contained in:
parent
7a65206dbf
commit
e62bd30759
|
@ -78,7 +78,6 @@ public class CustomFieldController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/default")
|
@PostMapping("/default")
|
||||||
@RequiresPermissions(PermissionConstants.PROJECT_TEMPLATE_READ_CUSTOM)
|
|
||||||
public List<CustomField> getDefaultList(@RequestBody QueryCustomFieldRequest request) {
|
public List<CustomField> getDefaultList(@RequestBody QueryCustomFieldRequest request) {
|
||||||
return customFieldService.getDefaultField(request);
|
return customFieldService.getDefaultField(request);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue