feat: 模型 group 落定为 audit.guichumo.com
- AuditLog.GROUP 常量替换占位(查询端点/测试挂载路径均引用该常量) - role-template.yaml apiGroups、UI QUERY_ENDPOINT 同步 - README 改为"模型 group 与权限标识"说明,并标注 group 为已落库数据身份、 启用产生记录后不可随意变更 - 技术方案注明占位示例与落定值(文档中其余 audit.example.com 保留为设计示例) - ./gradlew test --rerun-tasks 50 例全绿,插件与 UI 构建通过
This commit is contained in:
@@ -25,7 +25,7 @@ import AuditLogDetail from './AuditLogDetail.vue'
|
||||
|
||||
/** 查询端点路径(与 AuditQueryEndpoint 保持一致)。 */
|
||||
const QUERY_ENDPOINT =
|
||||
'/apis/audit.example.com/v1alpha1/auditlogs/-/query'
|
||||
'/apis/audit.guichumo.com/v1alpha1/auditlogs/-/query'
|
||||
|
||||
const RESOURCE_TYPES = [
|
||||
'posts', 'comments', 'users', 'roles', 'auth', 'settings', 'configmaps',
|
||||
|
||||
Reference in New Issue
Block a user