mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-07 08:26:00 +00:00
Implements namespace deletion via soft delete (DELETED status) to preserve audit history and prevent accidental data loss. Only namespace OWNER can delete, and namespace must be ARCHIVED first with no ACTIVE skills.
- Add DELETED status to NamespaceStatus enum
- Add canDelete() permission check in NamespaceAccessPolicy
- Implement deleteNamespace() in NamespaceGovernanceService with validation
- Add DELETE /api/web/namespaces/{slug} endpoint in NamespaceController
- Add i18n messages for delete errors (en/zh)
- Add V41 migration to document DELETED status
Resolves #341
|
||
|---|---|---|
| .. | ||
| .mvn | ||
| scripts | ||
| skillhub-app | ||
| skillhub-auth | ||
| skillhub-domain | ||
| skillhub-infra | ||
| skillhub-notification | ||
| skillhub-search | ||
| skillhub-storage | ||
| .dockerignore | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||