@@ -1556,7 +1556,7 @@ export function TeamMembersSettings() {
15561556 disabled = { isSavingDefaultTeam }
15571557 className = "px-3 py-1.5 text-sm bg-plm-bg-secondary border border-plm-border rounded-lg text-plm-fg focus:outline-none focus:border-plm-accent disabled:opacity-50"
15581558 >
1559- < option value = "" > No default (unassigned )</ option >
1559+ < option value = "" > Unassigned (no team permissions )</ option >
15601560 { teams . map ( team => (
15611561 < option key = { team . id } value = { team . id } > { team . name } </ option >
15621562 ) ) }
@@ -1566,6 +1566,12 @@ export function TeamMembersSettings() {
15661566 ) }
15671567 </ div >
15681568 </ div >
1569+ { ! ( organization as any ) ?. default_new_user_team_id && (
1570+ < p className = "mt-2 text-xs text-yellow-500 flex items-center gap-1" >
1571+ < AlertTriangle size = { 12 } />
1572+ New users will have no team permissions until manually assigned
1573+ </ p >
1574+ ) }
15691575 </ div >
15701576 ) }
15711577
@@ -4115,13 +4121,18 @@ function UserRow({
41154121 ) : teams && teams . length > 0 && canManage && onEditTeams ? (
41164122 < button
41174123 onClick = { ( ) => onEditTeams ( user ) }
4118- className = "flex items-center gap-1.5 px-2 py-1 rounded text-xs bg-plm-fg-muted /10 text-plm-fg-muted border border-dashed border-plm-border hover:border-plm-accent hover:text-plm-accent transition-colors"
4119- title = "Add to teams "
4124+ className = "flex items-center gap-1.5 px-2 py-1 rounded text-xs bg-yellow-500 /10 text-yellow-500 border border-dashed border-yellow-500/30 hover:border-yellow-500 hover:bg-yellow-500/20 transition-colors"
4125+ title = "Unassigned - click to add to a team "
41204126 >
4121- < Users size = { 12 } />
4122- No teams
4127+ < UserX size = { 12 } />
4128+ Unassigned
41234129 < ChevronDown size = { 12 } />
41244130 </ button >
4131+ ) : teams && teams . length > 0 ? (
4132+ < span className = "flex items-center gap-1.5 px-2 py-1 rounded text-xs bg-yellow-500/10 text-yellow-500" >
4133+ < UserX size = { 12 } />
4134+ Unassigned
4135+ </ span >
41254136 ) : null }
41264137
41274138 { /* Workflow roles badge */ }
0 commit comments