fix(项目设置): 创建缺陷模板不校验模板字段权限

--bug=1027187 --user=王旭 【项目设置】项目成员有缺陷模版权限,创建缺陷模版报403 https://www.tapd.cn/55049933/s/1385804
This commit is contained in:
WangXu10 2023-06-25 19:49:10 +08:00 committed by fit2-zhao
parent 7a65206dbf
commit e62bd30759
1 changed files with 0 additions and 1 deletions

View File

@ -78,7 +78,6 @@ public class CustomFieldController {
}
@PostMapping("/default")
@RequiresPermissions(PermissionConstants.PROJECT_TEMPLATE_READ_CUSTOM)
public List<CustomField> getDefaultList(@RequestBody QueryCustomFieldRequest request) {
return customFieldService.getDefaultField(request);
}