Skip to content

feat: add tag design#1418

Merged
earayu merged 1 commit intomainfrom
feature/tag_design
Dec 30, 2025
Merged

feat: add tag design#1418
earayu merged 1 commit intomainfrom
feature/tag_design

Conversation

@earayu
Copy link
Copy Markdown
Collaborator

@earayu earayu commented Dec 30, 2025

Note

Introduces a new design spec (docs/design/tag_based_permission_design_zh.md) for a tag-based grouping system enabling batch authorization without changing existing permission checks.

  • Defines two new tables: tag and tag_relation; reuses user_collection_subscription for actual permissions
  • Describes service flow (tag CRUD, tagging relations, batch grant service) and interaction with existing subscription logic
  • Specifies REST APIs for tags, user/collection tagging, and batch grant/subscribe/revoke operations
  • Details batch grant algorithm, caching and bulk-insert optimizations, and operation limits/auditing
  • Provides DB migration DDL and phased deployment plan; notes future extensibility (documents/bots, templates, sync, approvals)

Written by Cursor Bugbot for commit c418241. This will update automatically on new commits. Configure here.

@earayu earayu merged commit c4ad61a into main Dec 30, 2025
8 of 9 checks passed
@earayu earayu deleted the feature/tag_design branch December 30, 2025 19:17
@apecloud-bot apecloud-bot added the size/L Denotes a PR that changes 100-499 lines. label Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants