Fix RBAC role system bugs and improve UX #446

Merged
ZacharyZcR merged 7 commits from fix/rbac-improvements into dev-1.10.0 2025-12-20 02:13:36 +00:00
ZacharyZcR commented 2025-12-13 10:23:23 +00:00 (Migrated from github.com)

Summary

This PR fixes multiple bugs in the RBAC role system and improves user experience.

Changes

  • Fix user list dropdown selection issue in host sharing tab
  • Fix role-based host access permissions to properly query user roles
  • Fix translation template interpolation for success messages
  • Standardize system roles to only admin and user (remove obsolete roles)
  • Auto-assign user role to new registrations
  • Remove blocking confirmation dialogs in modal contexts
  • Add missing i18n translation keys
  • Fix button types to prevent unintended form submissions

Testing

  • Tested user dropdown selection in host sharing
  • Verified role-based permissions work correctly
  • Confirmed new users get auto-assigned user role
  • Validated translation interpolation displays correctly
## Summary This PR fixes multiple bugs in the RBAC role system and improves user experience. ## Changes - Fix user list dropdown selection issue in host sharing tab - Fix role-based host access permissions to properly query user roles - Fix translation template interpolation for success messages - Standardize system roles to only admin and user (remove obsolete roles) - Auto-assign user role to new registrations - Remove blocking confirmation dialogs in modal contexts - Add missing i18n translation keys - Fix button types to prevent unintended form submissions ## Testing - Tested user dropdown selection in host sharing - Verified role-based permissions work correctly - Confirmed new users get auto-assigned user role - Validated translation interpolation displays correctly
Sign in to join this conversation.