mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 17:45:42 +00:00
45e5fda9d0
Adds a full Phase-52 RBAC implementation and multiple server/frontend fixes. Key changes: new auth/permissions.go with 28 granular permissions and DefaultRolePermissions, expanded 7-role hierarchy and helpers in auth/roles.go, JWT org context and GenerateOrgToken, requirePermission/requireOrgMembership middlewares (Go + Node.js), DB schema & adapter changes for role_permissions and is_server_admin, org role boundary checks and peer org scoping, and guards for last-admin demotion and self-demotion. Also: TCP EOF/connection-reset log filtering in signal/relay servers, improved startup banner port display, KEYS_PATH auto-detect warning, CSS hover/transition layout fixes, admin password race mitigation, ID-change ghost peer cleanup, added Tauri ACL schema files, and a new RBAC_PHASE52.md doc. Misc: numerous web-nodejs i18n, CSS, JS and route updates and an updated .github/copilot-instructions.md timestamp/summary.
Documentation
This directory contains comprehensive documentation for BetterDesk Console, organized by topic.
Setup & Installation
- Installation Guide — Full installation instructions
- Update Guide — Updating existing installations
- Build Guide — Building from source
- Synology Installation — NAS-specific setup
- HTTPS Setup — SSL/TLS certificate configuration
Docker
- Docker Support — Docker installation guide
- Docker Quick Start — 30-second quick start with pre-built images
- Docker Troubleshooting — Docker-specific issues & fixes
- Docker Migration — Migrating from existing RustDesk Docker
Features
- Client Generator — Custom client generator
- Client Generator Quick Start — Quick start guide
- Device ID Change — Device ID change feature
- Status Tracking v3 — Device status tracking system
- CDAP / Custom Device API — Custom Device Access Protocol
- Web Remote Client — Browser-based remote desktop
Architecture
- Project Structure — Codebase overview
- BetterDesk Client — Desktop client architecture
- BetterDesk v3 Overview — v3 architecture summary
- CDAP Protocol — CDAP wire protocol specification
- CDAP Implementation — CDAP implementation plan
- Port Security — Port configuration & security
Troubleshooting
- General Troubleshooting — Common issues & solutions
- Key Troubleshooting — Key and encryption issues
- Quick Fix — Quick fixes for common problems
Performance
- GPU Optimization — GPU optimization guide
- GPU Quick Fix — Quick GPU fix
- Optimization Summary — Performance optimization overview
Development
- Contributing — Contribution guidelines
- Translation Guide — Adding new languages
- Translation Summary — Translation coverage status
- Changelog — Version history
Enterprise
- Enterprise Roadmap — Future enterprise features
Note: The original Rust-based HBBS patch has been replaced by the Go server and moved to
archive/. See the main README for current architecture.