Skip to content

feat(frontend): add KB permission extension point for external permis…#27

Merged
cocowh merged 2 commits intoweagent/kb-permission-extensionfrom
weagent/kb-permission-frontend-ext
Apr 28, 2026
Merged

feat(frontend): add KB permission extension point for external permis…#27
cocowh merged 2 commits intoweagent/kb-permission-extensionfrom
weagent/kb-permission-frontend-ext

Conversation

@cocowh
Copy link
Copy Markdown
Owner

@cocowh cocowh commented Apr 28, 2026

…sion systems

Add ExtensionTabConfig interface and KbPermissionsPanel component to support custom permission tabs (e.g., ERP department permissions) in the knowledge base permission management UI.

Changes:

  • New KbPermissionsPanel component with extensionTabs prop
  • Updated KnowledgeDetailPanel to accept permissionExtensionTabs
  • Exported ExtensionTabConfig type from knowledge module
  • Added English and Chinese documentation

Internal projects can now inject custom permission tabs without modifying core components, following the same pattern as backend IKbPermissionResolver.

Refs: PR wecode-ai#1025 backend extension point

cocowh added 2 commits April 29, 2026 01:00
…sion systems

Add ExtensionTabConfig interface and KbPermissionsPanel component to support
custom permission tabs (e.g., ERP department permissions) in the knowledge
base permission management UI.

Changes:
- New KbPermissionsPanel component with extensionTabs prop
- Updated KnowledgeDetailPanel to accept permissionExtensionTabs
- Exported ExtensionTabConfig type from knowledge module
- Added English and Chinese documentation

Internal projects can now inject custom permission tabs without modifying
core components, following the same pattern as backend IKbPermissionResolver.

Refs: PR wecode-ai#1025 backend extension point
@cocowh cocowh merged commit e70657f into weagent/kb-permission-extension Apr 28, 2026
@cocowh cocowh deleted the weagent/kb-permission-frontend-ext branch April 29, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant