Feature: Complete User Accounts - Phase 3 Frontend (Resource Sharing) #109
Labels
No labels
Epic 5
MCP
P1
PR-0
PR-1
api
api-layer
architecture
area:backend
area:frontend
arrow
authentication
backend
bug
chat
client
clipboard
common-module
compose
cross-cutting
cross-cutting-requirement
data-layer
data-models
database
desktop-client
documentation
duplicate
enhancement
epic
epic-1
epic-2
epic-3
epic-4
epic-5
epic-6
epic-7
epic-llm-config
error-handling
feature
frontend
good first issue
help wanted
implementation
infrastructure
installer
invalid
kotlin
ktor
llm
medium-priority
message
multiplatform
needs-review
needs-triage
packaging
performance
phase-1
phase-2
phase-3
phase-4
phase-5
phase3
phase:3
priority: high
question
refactor
refactoring
resource-sharing
security
server
server-module
services
session
session-management
settings
setup
shutdown
state
storage
streaming
sub-issue
tests
tooling
type:task
ui
ui/ux
user-accounts
user-management
ux
viewmodel
websocket
windows
windows-integration
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Torvian.eu/chatbot#109
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Executive Summary
The User Accounts feature has successfully completed Phases 1 and 2, and the Phase 3 backend implementation is now complete, providing a fully functional authentication system, user management, and resource sharing infrastructure on the backend. However, frontend implementation for Phase 3 is incomplete, with basic provider/model/settings management UI, but no user group management UI or resource sharing controls.
Current Status
Phase 3: Resource Sharing is currently at ~60% completion (Backend: 100%, Frontend: ~20%). The backend is production-ready, but significant frontend work remains.
Problem Description
While the backend for resource sharing is fully implemented, users currently lack the necessary UI to manage user groups and share resources (providers, models, settings) with these groups. This prevents the full utilization of the Phase 3 functionality.
Missing Frontend Components
User Group Management UI (0% Complete)
UserGroupRepositoryimplementationUserGroupApiclientUserGroupManagementViewModelUserGroupManagementTabcomponentResource Sharing UI (0% Complete)
API Client Layer (0% Complete)
Tasks to Complete
Priority 1: User Group Management Frontend (HIGH)
UserGroupApiinterface andKtorUserGroupApiClientimplementation.UserGroupRepositoryinterface andDefaultUserGroupRepositoryimplementation.UserGroupManagementViewModelwith state management.UserGroupManagementTabcomponent (master-detail layout).UserGroupListPanelandUserGroupDetailPanel.CreateGroupDialogEditGroupDialogDeleteGroupDialogManageGroupMembersDialogMANAGE_USER_GROUPS).Priority 2: Resource Sharing UI (HIGH)
ProviderApi,ModelApi,SettingsApi:getResourceAccess(id)- Get access informationgrantAccess(id, groupId, accessMode)- Grant accessrevokeAccess(id, groupId, accessMode)- Revoke accessmakePublic(id)- Make resource publicmakePrivate(id)- Make resource privateisPublic(id)- Check if publicgetOwner(id)- Get owner infoProviderRepository,ModelRepository,SettingsRepository:ProviderConfigViewModel,ModelConfigViewModel,SettingsConfigViewModel:ResourceSharingDialog(reusable for all resource types):PublicPrivateTogglecomponent:MANAGE_LLM_PROVIDERS,MANAGE_LLM_MODELS,MANAGE_MODEL_SETTINGSpermission checks.Priority 3: Polish & Testing (MEDIUM)
Estimated Effort
Total Estimated Time: 9-12 days
Acceptance Criteria