teamcity/group_role_assignment.go [147:161]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
			if role.Id == state.RoleId.ValueString() && role.Scope == state.Scope.ValueString() {
				found = true
				break
			}
		}
	}

	if !found {
		resp.State.RemoveResource(ctx)
		return
	}

	// Role assignment exists, keep current state
	diags = resp.State.Set(ctx, state)
	resp.Diagnostics.Append(diags...)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



teamcity/user_role_assignment.go [237:251]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
			if role.Id == state.RoleId.ValueString() && role.Scope == state.Scope.ValueString() {
				found = true
				break
			}
		}
	}

	if !found {
		resp.State.RemoveResource(ctx)
		return
	}

	// Role assignment exists, update state
	diags = resp.State.Set(ctx, state)
	resp.Diagnostics.Append(diags...)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



