Workspace admins create groups of members, and space admins grant a role to a whole group. A member's space role is now the highest of their own grant and their groups' grants. Leaving a workspace drops its group memberships, and deleting a group removes its space grants (they are not a real relation, so PocketBase cannot cascade them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>