fix(aihr): protect prompt template reads
This commit is contained in:
+1
@@ -31,6 +31,7 @@ public class AihrPromptTemplateController {
|
||||
|
||||
private final AihrPracticeSeedService practiceSeedService;
|
||||
|
||||
@SaCheckRole(value = {TenantConstants.SUPER_ADMIN_ROLE_KEY, HR_OPERATOR_ROLE}, mode = SaMode.OR)
|
||||
@GetMapping
|
||||
public R<List<PromptTemplateResponse>> list(@RequestParam(required = false) String category,
|
||||
@RequestParam(required = false) String code,
|
||||
|
||||
Reference in New Issue
Block a user