ADORSYS-GIS / ADORSYS-GIS/lightbridge-authz

[Story]: Content-exclusion glob configuration data model and admin API

未关闭
#272 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
user-story
主要语言
Rust
星标
0
派生
1
平均合并
7 小时 7 分钟
30 天内合并 PR
237

描述

## Summary
Build the data model and admin API for repo/org-level content-exclusion glob configuration.

## Intent / Source of truth
This is the configuration surface the enforcement story (a6s2) reads from; needed first. Part of [Epic] Content and path exclusion controls.

## Scope
- [ ] Exclusion-rule data model (org/repo/path glob, scope, created-by)
- [ ] Admin CRUD API for exclusion rules
- [ ] Validation of glob syntax and scope conflicts

## Out of scope
- Enforcement in the indexing pipeline (separate cross-repo story)

## Verification
CRUD API tests; glob validation rejects malformed patterns with a clear error.

## Risk assessment
Low risk in isolation — the real risk is in enforcement (a6s2), not the config surface itself.

## AI Usage Declaration
Drafted with AI assistance during the 2026-08-13 cross-repo backlog consolidation and enterprise-readiness research. A human owns intent, verification and consequences.

贡献指南

打开贡献指南

调研方向

Start by locating the existing admin API and data-model patterns in the Rust service, then trace how the enforcement story a6s2 will read this configuration. Cover org/repo/path-glob fields, scope and creator handling, CRUD behavior, and malformed-glob or scope-conflict validation. Done means CRUD API tests pass and invalid patterns return clear errors.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
api, authorization, backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。