Summary
I created a community and the other users I've made an admin cannot assign roles. They can do everything else, but roles are unselectable for themSteps to reproduce
- Assign a role that has been set as "Administrator"
- Right-Click user and expand "Roles" sub-menu on the admin assigned user
- All roles in the sub-menu are unselectable
Environment (optional)
- Version 0.0.8 Installed through Flatpak
- EndeavourOS/KDE Plasma 6.6.3/Wayland
stable build 190 (44b69925)
Desktop stable 0.0.0
Deployed 5d
Electron 40.0.0
Linux 6.19.10-arch1-1 (x64)



4 comments
Comment by @Juliaxe
Comment by @LionUCS
Comment by @cproudlock
guild_members.erl::check_can_manage_roles): uses strict>comparison on role positions. When all non-everyone roles are at the same position (a common config), no admin can assign any role because their max position is never strictly greater than the target.- Frontend (
The gateway already has correct equal-position tiebreaker logic inPermissionUtils.tsx::isRoleHigher): uses anindexOfon a sorted role list. When positions tie, sort order is unstable and the comparison is unreliable. The frontend disables the role menu before any request is sent.can_manage_role(singular) - it just wasn't applied tocan_manage_roles(plural). Fix:- Gateway: add equal-position tiebreaker (lower role ID can manage equal-position role) to match the singular version
- Frontend: replace
Verified working on a self-hosted instance.indexOfcomparison with direct position comparison + role ID tiebreakerComment by @cproudlock